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

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[src]

fn should_break(&self) -> bool[src]

fn should_prune(&self) -> bool[src]

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...