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§
source§impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for NoForbiddenSubgraph
impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for NoForbiddenSubgraph
source§fn is_node_forbidden(&self, _: Graph::NodeIndex) -> bool
fn is_node_forbidden(&self, _: Graph::NodeIndex) -> bool
Returns true if the given node is forbidden.
source§fn 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§
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