Skip to main content

GammaLutInput

Trait GammaLutInput 

Source
pub trait GammaLutInput {
    // Required method
    fn into_f32(self) -> f32;
}
Expand description

A valid input value for a GammaLut.

Any value that can be extended to or rounded down to f32 may implement this trait.

Required Methods§

Source

fn into_f32(self) -> f32

Convert self to the nearest f32 value.

Implementations on Foreign Types§

Source§

impl GammaLutInput for f32

Source§

fn into_f32(self) -> f32

Source§

impl GammaLutInput for f64

Source§

fn into_f32(self) -> f32

Implementors§