Struct traitgraph_algo::traversal::NoForbiddenSubgraph
source · [−]pub struct NoForbiddenSubgraph;
Expand description
A type implementing ForbiddenSubgraph that allows all nodes in a graph traversal.
Trait Implementations
sourceimpl<Graph: GraphBase> ForbiddenSubgraph<Graph> for NoForbiddenSubgraph
impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for NoForbiddenSubgraph
sourcefn is_node_forbidden(&self, _: Graph::NodeIndex) -> bool
fn is_node_forbidden(&self, _: Graph::NodeIndex) -> bool
Returns true if the given node is forbidden.
sourcefn is_edge_forbidden(&self, _: Graph::EdgeIndex) -> bool
fn is_edge_forbidden(&self, _: Graph::EdgeIndex) -> bool
Returns true if the given edge is forbidden.
Auto Trait Implementations
impl RefUnwindSafe for NoForbiddenSubgraph
impl Send for NoForbiddenSubgraph
impl Sync for NoForbiddenSubgraph
impl Unpin for NoForbiddenSubgraph
impl UnwindSafe for NoForbiddenSubgraph
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more