[−][src]Enum normal_map::MapperF32
The type of mapping to use
Variants
Lin(LinearMapF32)Linear mapping
Please note if you use Unit::Decibels, then the decibels
will be linearly mapped, not the raw amplitude.
Pow(PowerMapF32)Exponential mapping where the normalized value is raised to the supplied exponent.
Please note if you use Unit::Decibels, then the decibels
will be linearly mapped, not the raw amplitude.
Log2(Log2MapF32)Logarithmic mapping using log2
Discrete(DiscreteMapF32)Discrete isize integer mapping
A supplied enum may be used as well as long
as it implements From<isize> + Into<isize> + Copy + Clone.
Auto Trait Implementations
impl RefUnwindSafe for MapperF32
impl Send for MapperF32
impl Sync for MapperF32
impl Unpin for MapperF32
impl UnwindSafe for MapperF32
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,