Struct rs_graph::linkedlistgraph::Edge [−][src]
Edge of a linked list graph.
This is basically a newtype of the arc index. Note that
e == g.reverse(e).
Trait Implementations
impl<ID> DirectedEdge for Edge<ID> where
ID: PrimInt + Unsigned, [src]
impl<ID> DirectedEdge for Edge<ID> where
ID: PrimInt + Unsigned, [src]type Edge = Self
type Edge = SelfThe underlying edge.
fn is_incoming(&self) -> bool[src]
fn is_incoming(&self) -> bool[src]Whether the edge is incoming.
fn is_outgoing(&self) -> bool[src]
fn is_outgoing(&self) -> bool[src]Whether the edge is outgoing.
impl<ID: Copy> Copy for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID: Eq> Eq for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID> StructuralEq for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
Auto Trait Implementations
impl<ID> RefUnwindSafe for Edge<ID> where
ID: RefUnwindSafe,
ID: RefUnwindSafe,
impl<ID> Send for Edge<ID> where
ID: Send,
ID: Send,
impl<ID> Sync for Edge<ID> where
ID: Sync,
ID: Sync,
impl<ID> Unpin for Edge<ID> where
ID: Unpin,
ID: Unpin,
impl<ID> UnwindSafe for Edge<ID> where
ID: UnwindSafe,
ID: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more