Trait tap::TapBooleanOps [] [src]

pub trait TapBooleanOps {
    fn tap_true<R, F: FnOnce(&mut bool) -> R>(self, f: F) -> Self;
fn tap_false<R, F: FnOnce(&mut bool) -> R>(self, f: F) -> Self; }

Tap operations for bool.

Required Methods

Executes a closure if the value is Result::Ok(T).

Executes a closure if the value is Result::Err(E).

Implementations on Foreign Types

impl TapBooleanOps for bool
[src]

[src]

[src]

Implementors