Struct petgraph::csr::EdgeReference
source · pub struct EdgeReference<'a, E: 'a, Ty, Ix: 'a = DefaultIx> {
index: EdgeIndex,
source: NodeIndex<Ix>,
target: NodeIndex<Ix>,
weight: &'a E,
ty: PhantomData<Ty>,
}
Fields§
§index: EdgeIndex
§source: NodeIndex<Ix>
§target: NodeIndex<Ix>
§weight: &'a E
§ty: PhantomData<Ty>
Implementations§
Trait Implementations§
source§impl<'a, E, Ty, Ix: Copy> Clone for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix: Copy> Clone for EdgeReference<'a, E, Ty, Ix>
source§impl<'a, E, Ty, Ix> EdgeRef for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix> EdgeRef for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix: Copy> Copy for EdgeReference<'a, E, Ty, Ix>
Auto Trait Implementations§
impl<'a, E, Ty, Ix> Freeze for EdgeReference<'a, E, Ty, Ix>where
Ix: Freeze,
impl<'a, E, Ty, Ix> RefUnwindSafe for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix> Send for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix> Sync for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix> Unpin for EdgeReference<'a, E, Ty, Ix>
impl<'a, E, Ty, Ix> UnwindSafe for EdgeReference<'a, E, Ty, 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