Struct traitgraph_algo::traversal::ForbiddenEdge
source · pub struct ForbiddenEdge<EdgeIndex> { /* private fields */ }
Expand description
A ForbiddenSubgraph that forbids a single edge.
Implementations§
source§impl<EdgeIndex> ForbiddenEdge<EdgeIndex>
impl<EdgeIndex> ForbiddenEdge<EdgeIndex>
Trait Implementations§
source§impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for ForbiddenEdge<Graph::EdgeIndex>
impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for ForbiddenEdge<Graph::EdgeIndex>
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, edge: Graph::EdgeIndex) -> bool
fn is_edge_forbidden(&self, edge: Graph::EdgeIndex) -> bool
Returns true if the given edge is forbidden.
Auto Trait Implementations§
impl<EdgeIndex> RefUnwindSafe for ForbiddenEdge<EdgeIndex>where EdgeIndex: RefUnwindSafe,
impl<EdgeIndex> Send for ForbiddenEdge<EdgeIndex>where EdgeIndex: Send,
impl<EdgeIndex> Sync for ForbiddenEdge<EdgeIndex>where EdgeIndex: Sync,
impl<EdgeIndex> Unpin for ForbiddenEdge<EdgeIndex>where EdgeIndex: Unpin,
impl<EdgeIndex> UnwindSafe for ForbiddenEdge<EdgeIndex>where EdgeIndex: UnwindSafe,
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