Enum rustracer::hdrimage::Luminosity
source · pub enum Luminosity {
AverageLuminosity,
FloatValue(f32),
}
Expand description
Luminosity enum.
Variants§
AverageLuminosity
Variant for using
average_luminosity
inside normalize_image
method
FloatValue(f32)
Variant for setting a constant f32
value for luminosity inside
normalize_image
method.
Auto Trait Implementations§
impl RefUnwindSafe for Luminosity
impl Send for Luminosity
impl Sync for Luminosity
impl Unpin for Luminosity
impl UnwindSafe for Luminosity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more