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: PartialOrd, Ix: PartialOrd + IndexType> PartialOrd for EdgeReference<'a, E, Ix>
impl<'a, E: PartialOrd, Ix: PartialOrd + IndexType> PartialOrd for EdgeReference<'a, E, Ix>
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> StructuralPartialEq for EdgeReference<'a, E, Ix>
Auto Trait Implementations§
impl<'a, E, Ix> Freeze for EdgeReference<'a, E, Ix>where
Ix: Freeze,
impl<'a, E, Ix> RefUnwindSafe for EdgeReference<'a, E, Ix>where
Ix: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, E, Ix> Send for EdgeReference<'a, E, Ix>
impl<'a, E, Ix> Sync for EdgeReference<'a, E, Ix>
impl<'a, E, Ix> Unpin for EdgeReference<'a, E, Ix>where
Ix: Unpin,
impl<'a, E, Ix> UnwindSafe for EdgeReference<'a, E, Ix>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.