Struct swh_graph::labels::UntypedEdgeLabel
source · pub struct UntypedEdgeLabel(/* private fields */);
Expand description
Intermediary type that needs to be casted into one of the EdgeLabel
variants
Implementations§
source§impl UntypedEdgeLabel
impl UntypedEdgeLabel
pub fn for_edge_type( &self, src: SWHType, dst: SWHType, transpose_graph: bool ) -> Result<EdgeLabel, EdgeTypingError>
Trait Implementations§
source§impl Clone for UntypedEdgeLabel
impl Clone for UntypedEdgeLabel
source§fn clone(&self) -> UntypedEdgeLabel
fn clone(&self) -> UntypedEdgeLabel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UntypedEdgeLabel
impl Debug for UntypedEdgeLabel
source§impl From<UntypedEdgeLabel> for Branch
impl From<UntypedEdgeLabel> for Branch
source§fn from(label: UntypedEdgeLabel) -> Branch
fn from(label: UntypedEdgeLabel) -> Branch
Converts to this type from the input type.
source§impl From<UntypedEdgeLabel> for DirEntry
impl From<UntypedEdgeLabel> for DirEntry
source§fn from(label: UntypedEdgeLabel) -> DirEntry
fn from(label: UntypedEdgeLabel) -> DirEntry
Converts to this type from the input type.
source§impl From<UntypedEdgeLabel> for Visit
impl From<UntypedEdgeLabel> for Visit
source§fn from(label: UntypedEdgeLabel) -> Visit
fn from(label: UntypedEdgeLabel) -> Visit
Converts to this type from the input type.
source§impl From<u64> for UntypedEdgeLabel
impl From<u64> for UntypedEdgeLabel
source§fn from(n: u64) -> UntypedEdgeLabel
fn from(n: u64) -> UntypedEdgeLabel
Converts to this type from the input type.
source§impl Hash for UntypedEdgeLabel
impl Hash for UntypedEdgeLabel
source§impl PartialEq for UntypedEdgeLabel
impl PartialEq for UntypedEdgeLabel
source§fn eq(&self, other: &UntypedEdgeLabel) -> bool
fn eq(&self, other: &UntypedEdgeLabel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UntypedEdgeLabel
impl Eq for UntypedEdgeLabel
impl StructuralEq for UntypedEdgeLabel
impl StructuralPartialEq for UntypedEdgeLabel
Auto Trait Implementations§
impl RefUnwindSafe for UntypedEdgeLabel
impl Send for UntypedEdgeLabel
impl Sync for UntypedEdgeLabel
impl Unpin for UntypedEdgeLabel
impl UnwindSafe for UntypedEdgeLabel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere U: CastableFrom<T>,
§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere U: DowncastableFrom<T>,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.