pub trait Map01F64: Send + Sync {
type Input;
// Required method
fn map(&self, value: Self::Input) -> Witnessed<f64, V01>;
}Expand description
Maps a measurement into the [0, 1] range.
Input is associated with the mapper rather than fixed in the trait, so a
mapper can consume any measurement type. The normalized result carries the
V01 witness.
Required Associated Types§
Sourcetype Input
type Input
The value accepted by Map01F64::map.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".