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§
source§impl<'a, E, Ix: IndexType> Clone for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> Clone for EdgeReference<'a, E, Ix>
source§impl<'a, E, Ix: IndexType> EdgeRef for EdgeReference<'a, E, Ix>
impl<'a, E, Ix: IndexType> EdgeRef for EdgeReference<'a, E, Ix>
source§impl<'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>
source§fn cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Ordering
fn cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§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>
source§fn 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 ==
.source§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>
source§fn partial_cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Option<Ordering>
fn partial_cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl<'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§
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.