Struct petgraph::adj::EdgeReference
source · [−]pub struct EdgeReference<'a, E, Ix: IndexType> { /* private fields */ }
Expand description
A reference to an edge of the graph.
Trait Implementations
sourceimpl<'a, E, Ix: IndexType> Clone for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> Clone for EdgeReference<'a, E, Ix>
sourceimpl<'a, E, Ix: IndexType> EdgeRef for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> EdgeRef for EdgeReference<'a, E, Ix>
sourceimpl<'a, E: Ord, Ix: Ord + IndexType> Ord for EdgeReference<'a, E, Ix>
impl<'a, E: Ord, Ix: Ord + IndexType> Ord for EdgeReference<'a, E, Ix>
sourceimpl<'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>
sourcefn eq(&self, other: &EdgeReference<'a, E, Ix>) -> bool
fn eq(&self, other: &EdgeReference<'a, E, Ix>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EdgeReference<'a, E, Ix>) -> bool
fn ne(&self, other: &EdgeReference<'a, E, Ix>) -> bool
This method tests for !=
.
sourceimpl<'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>
sourcefn partial_cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Option<Ordering>
fn partial_cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a, E, Ix: IndexType> Copy for EdgeReference<'a, E, Ix>
impl<'a, E: Eq, Ix: Eq + IndexType> Eq for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> StructuralEq for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> StructuralPartialEq for EdgeReference<'a, E, Ix>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.