Struct traitgraph_algo::traversal::ForbiddenEdge
source · [−]pub struct ForbiddenEdge<EdgeIndex> { /* private fields */ }
Expand description
A ForbiddenSubgraph that forbids a single edge.
Implementations
sourceimpl<EdgeIndex> ForbiddenEdge<EdgeIndex>
impl<EdgeIndex> ForbiddenEdge<EdgeIndex>
Trait Implementations
sourceimpl<Graph: GraphBase> ForbiddenSubgraph<Graph> for ForbiddenEdge<Graph::EdgeIndex>
impl<Graph: GraphBase> ForbiddenSubgraph<Graph> for ForbiddenEdge<Graph::EdgeIndex>
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, 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
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