pub struct AllowedNodesForbiddenSubgraph<'a> { /* private fields */ }
Expand description
A type implementing ForbiddenSubgraph that allows all nodes set to true in a boolean vector.
Implementations
Trait Implementations
sourceimpl<'a, Graph: GraphBase> ForbiddenSubgraph<Graph> for AllowedNodesForbiddenSubgraph<'a>
impl<'a, Graph: GraphBase> ForbiddenSubgraph<Graph> for AllowedNodesForbiddenSubgraph<'a>
sourcefn is_node_forbidden(&self, node: Graph::NodeIndex) -> bool
fn is_node_forbidden(&self, node: 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<'a> RefUnwindSafe for AllowedNodesForbiddenSubgraph<'a>
impl<'a> Send for AllowedNodesForbiddenSubgraph<'a>
impl<'a> Sync for AllowedNodesForbiddenSubgraph<'a>
impl<'a> Unpin for AllowedNodesForbiddenSubgraph<'a>
impl<'a> UnwindSafe for AllowedNodesForbiddenSubgraph<'a>
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