Struct petgraph::adj::EdgeReference [−][src]
pub struct EdgeReference<'a, E, Ix: IndexType> { /* fields omitted */ }
Expand description
A reference to an edge of the graph.
Trait Implementations
type Weight = E
impl<'a, E: PartialEq, Ix: PartialEq + IndexType> PartialEq<EdgeReference<'a, E, Ix>> for EdgeReference<'a, E, Ix>
impl<'a, E: PartialEq, Ix: PartialEq + IndexType> PartialEq<EdgeReference<'a, E, Ix>> for EdgeReference<'a, E, Ix>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<'a, E: PartialOrd, Ix: PartialOrd + IndexType> PartialOrd<EdgeReference<'a, E, Ix>> for EdgeReference<'a, E, Ix>
impl<'a, E: PartialOrd, Ix: PartialOrd + IndexType> PartialOrd<EdgeReference<'a, E, Ix>> for EdgeReference<'a, E, Ix>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a, E, Ix> RefUnwindSafe for EdgeReference<'a, E, Ix> where
E: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<'a, E, Ix> Send for EdgeReference<'a, E, Ix> where
E: Sync,
Ix: Send + Sync,
impl<'a, E, Ix> Sync for EdgeReference<'a, E, Ix> where
E: Sync,
Ix: Sync,
impl<'a, E, Ix> Unpin for EdgeReference<'a, E, Ix> where
Ix: Unpin,
impl<'a, E, Ix> UnwindSafe for EdgeReference<'a, E, Ix> where
E: RefUnwindSafe,
Ix: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.