pub enum Gamma {
LinearToSrgb,
SrgbToLinear,
}Expand description
Which way through the sRGB transfer function a ColorFilter::Gamma goes.
Variants§
LinearToSrgb
Linear light in, sRGB’s encoding out. ColorFilter.linearToSrgbGamma.
SrgbToLinear
sRGB’s encoding in, linear light out. ColorFilter.srgbToLinearGamma.
Trait Implementations§
impl Copy for Gamma
impl Eq for Gamma
impl StructuralPartialEq for Gamma
Auto Trait Implementations§
impl Freeze for Gamma
impl RefUnwindSafe for Gamma
impl Send for Gamma
impl Sync for Gamma
impl Unpin for Gamma
impl UnsafeUnpin for Gamma
impl UnwindSafe for Gamma
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