Struct rs_graph::linkedlistgraph::Edge
source · pub struct Edge<ID = u32>(_)
where
ID: PrimInt + Unsigned;
Expand description
Edge of a linked list graph.
This is basically a newtype of the arc index. Note that
e == g.reverse(e)
.
Trait Implementations§
source§impl<ID> PartialEq<Edge<ID>> for Edge<ID>where
ID: PrimInt + Unsigned,
impl<ID> PartialEq<Edge<ID>> for Edge<ID>where ID: PrimInt + Unsigned,
impl<ID> Copy for Edge<ID>where ID: PrimInt + Unsigned + Copy,
impl<ID> Eq for Edge<ID>where ID: PrimInt + Unsigned + Eq,
impl<ID> StructuralEq for Edge<ID>where ID: PrimInt + Unsigned,
Auto Trait Implementations§
impl<ID> RefUnwindSafe for Edge<ID>where ID: RefUnwindSafe,
impl<ID> Send for Edge<ID>where ID: Send,
impl<ID> Sync for Edge<ID>where ID: Sync,
impl<ID> Unpin for Edge<ID>where ID: Unpin,
impl<ID> UnwindSafe for Edge<ID>where ID: UnwindSafe,
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