Trait tap::TapOps
[−]
[src]
pub trait TapOps { fn tap<R, F: FnOnce(&Self) -> R>(self, f: F) -> Self
where
Self: Sized, { ... } }
Tap operations for all types.
Provided Methods
fn tap<R, F: FnOnce(&Self) -> R>(self, f: F) -> Self where
Self: Sized,
Self: Sized,
Executes a closure on an object.
Implementors
impl<T> TapOps for T