pub struct Reversed<'graph, G> { /* private fields */ }Implementations§
Trait Implementations§
impl<'graph, G: Copy> Copy for Reversed<'graph, G>
Source§impl<G: GraphView> GraphView for Reversed<'_, G>
impl<G: GraphView> GraphView for Reversed<'_, G>
type Node = <G as GraphView>::Node
type Edge = <G as GraphView>::Edge
fn node_count(&self) -> usize
fn edge_count(&self) -> usize
fn contains_node(&self, node: Self::Node) -> bool
fn contains_edge(&self, edge: Self::Edge) -> bool
fn node_indices(&self) -> impl Iterator<Item = Self::Node> + '_
fn edge_indices(&self) -> impl Iterator<Item = Self::Edge> + '_
fn edge_endpoints(&self, edge: Self::Edge) -> Option<EdgeEndpoints<Self::Node>>
fn outgoing_edges( &self, node: Self::Node, ) -> impl Iterator<Item = Self::Edge> + '_
fn incoming_edges( &self, node: Self::Node, ) -> impl Iterator<Item = Self::Edge> + '_
fn edge_references( &self, ) -> impl Iterator<Item = (Self::Edge, EdgeEndpoints<Self::Node>)> + '_
Auto Trait Implementations§
impl<'graph, G> Freeze for Reversed<'graph, G>
impl<'graph, G> RefUnwindSafe for Reversed<'graph, G>where
G: RefUnwindSafe,
impl<'graph, G> Send for Reversed<'graph, G>where
G: Sync,
impl<'graph, G> Sync for Reversed<'graph, G>where
G: Sync,
impl<'graph, G> Unpin for Reversed<'graph, G>
impl<'graph, G> UnsafeUnpin for Reversed<'graph, G>
impl<'graph, G> UnwindSafe for Reversed<'graph, G>where
G: RefUnwindSafe,
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