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>
sourcefn cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Ordering
fn cmp(&self, other: &EdgeReference<'a, E, Ix>) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
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
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>
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 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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.