pub struct NodeFiltered<'graph, G, Predicate> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'graph, G: Clone, Predicate: Clone> Clone for NodeFiltered<'graph, G, Predicate>
impl<'graph, G: Clone, Predicate: Clone> Clone for NodeFiltered<'graph, G, Predicate>
Source§fn clone(&self) -> NodeFiltered<'graph, G, Predicate>
fn clone(&self) -> NodeFiltered<'graph, G, Predicate>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'graph, G: Copy, Predicate: Copy> Copy for NodeFiltered<'graph, G, Predicate>
Source§impl<G, Predicate> GraphView for NodeFiltered<'_, G, Predicate>
impl<G, Predicate> GraphView for NodeFiltered<'_, G, Predicate>
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, Predicate> Freeze for NodeFiltered<'graph, G, Predicate>where
Predicate: Freeze,
impl<'graph, G, Predicate> RefUnwindSafe for NodeFiltered<'graph, G, Predicate>where
Predicate: RefUnwindSafe,
G: RefUnwindSafe,
impl<'graph, G, Predicate> Send for NodeFiltered<'graph, G, Predicate>
impl<'graph, G, Predicate> Sync for NodeFiltered<'graph, G, Predicate>
impl<'graph, G, Predicate> Unpin for NodeFiltered<'graph, G, Predicate>where
Predicate: Unpin,
impl<'graph, G, Predicate> UnsafeUnpin for NodeFiltered<'graph, G, Predicate>where
Predicate: UnsafeUnpin,
impl<'graph, G, Predicate> UnwindSafe for NodeFiltered<'graph, G, Predicate>where
Predicate: UnwindSafe,
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