Enum rs_graph::adapters::network::NetworkDirectedEdge
source · pub enum NetworkDirectedEdge<E> {
Outgoing(E),
Incoming(E),
}
Expand description
A network edge with direction information.
This adapter is used by NetworkIncidentIt
to return whether the next edge
is outgoing or incoming.
Variants§
Trait Implementations§
source§impl<E: Clone> Clone for NetworkDirectedEdge<E>
impl<E: Clone> Clone for NetworkDirectedEdge<E>
source§fn clone(&self) -> NetworkDirectedEdge<E>
fn clone(&self) -> NetworkDirectedEdge<E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E> DirectedEdge for NetworkDirectedEdge<E>where
E: Clone,
impl<E> DirectedEdge for NetworkDirectedEdge<E>where E: Clone,
source§impl<E: PartialEq> PartialEq<NetworkDirectedEdge<E>> for NetworkDirectedEdge<E>
impl<E: PartialEq> PartialEq<NetworkDirectedEdge<E>> for NetworkDirectedEdge<E>
source§fn eq(&self, other: &NetworkDirectedEdge<E>) -> bool
fn eq(&self, other: &NetworkDirectedEdge<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E: Copy> Copy for NetworkDirectedEdge<E>
impl<E: Eq> Eq for NetworkDirectedEdge<E>
impl<E> StructuralEq for NetworkDirectedEdge<E>
impl<E> StructuralPartialEq for NetworkDirectedEdge<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for NetworkDirectedEdge<E>where E: RefUnwindSafe,
impl<E> Send for NetworkDirectedEdge<E>where E: Send,
impl<E> Sync for NetworkDirectedEdge<E>where E: Sync,
impl<E> Unpin for NetworkDirectedEdge<E>where E: Unpin,
impl<E> UnwindSafe for NetworkDirectedEdge<E>where E: 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