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: NodeType, dst: NodeType, 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 duplicate 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<EdgeLabel> for UntypedEdgeLabel
impl From<EdgeLabel> 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<Successors: Iterator> IntoFlattenedLabeledArcsIterator<UntypedEdgeLabel> for LabeledSuccessorIterator<Successors>
impl<Successors: Iterator> IntoFlattenedLabeledArcsIterator<UntypedEdgeLabel> for LabeledSuccessorIterator<Successors>
type Flattened = FlattenedSuccessorsIterator<LabeledSuccessorIterator<Successors>>
Source§fn flatten_labels(self) -> Self::Flattened
fn flatten_labels(self) -> Self::Flattened
Turns this
Iterator<Item=(succ, Iterator<Item=labels>)>
into an
Iterator<ITem=(succ, label)>
.Source§impl PartialEq for UntypedEdgeLabel
impl PartialEq for UntypedEdgeLabel
impl Copy for UntypedEdgeLabel
impl Eq for UntypedEdgeLabel
impl StructuralPartialEq for UntypedEdgeLabel
Auto Trait Implementations§
impl Freeze for UntypedEdgeLabel
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
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.