[][src]Trait petgraph::visit::ControlFlow

pub trait ControlFlow {
    fn continuing() -> Self;
fn should_break(&self) -> bool;
fn should_prune(&self) -> bool; }

Control flow for callbacks.

The empty return value () is equivalent to continue.

Required methods

fn continuing() -> Self

fn should_break(&self) -> bool

fn should_prune(&self) -> bool

Loading content...

Implementations on Foreign Types

impl ControlFlow for ()[src]

impl<C: ControlFlow, E> ControlFlow for Result<C, E>[src]

Loading content...

Implementors

impl<B> ControlFlow for Control<B>[src]

Loading content...