Enum permutohedron::control::Control [] [src]

pub enum Control<B> {
    Continue,
    Break(B),
}

Control flow for callbacks.

Break can carry a value.

Variants

Methods

impl<B> Control<B>
[src]

[src]

[src]

Get the value in Control::Break(_), if present.

Trait Implementations

impl<B: Copy> Copy for Control<B>
[src]

impl<B: Clone> Clone for Control<B>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<B: Debug> Debug for Control<B>
[src]

[src]

Formats the value using the given formatter.

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

[src]

[src]