pub trait Map {
    fn map<F: FnOnce(f32) -> f32>(&self, op: F) -> Self;
}
Expand description

A trait for values that can be mapped by applying a function.

Required Methods

Returns the result of the operation.

Implementors