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§
source§impl<'a, Graph: GraphBase> ForbiddenSubgraph<Graph> for AllowedNodesForbiddenSubgraph<'a>
impl<'a, Graph: GraphBase> ForbiddenSubgraph<Graph> for AllowedNodesForbiddenSubgraph<'a>
source§fn 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.
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<'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§
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