pub enum ColorCharacteristics {
sRGB,
Linear,
}
Expand description
Color characteristics
Gives more information about values in a certain colorspace
Variants§
sRGB
Normal default gamma setting The float contains gamma present
The default gamma value is 2.2 but for decoders that allow specifying gamma values,e.g PNG, the gamma value becomes the specified value by the decoder
Linear
Linear transfer characteristics The image is in linear colorspace
Trait Implementations§
Source§impl Clone for ColorCharacteristics
impl Clone for ColorCharacteristics
Source§fn clone(&self) -> ColorCharacteristics
fn clone(&self) -> ColorCharacteristics
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColorCharacteristics
impl Debug for ColorCharacteristics
Source§impl PartialEq for ColorCharacteristics
impl PartialEq for ColorCharacteristics
impl Copy for ColorCharacteristics
impl StructuralPartialEq for ColorCharacteristics
Auto Trait Implementations§
impl Freeze for ColorCharacteristics
impl RefUnwindSafe for ColorCharacteristics
impl Send for ColorCharacteristics
impl Sync for ColorCharacteristics
impl Unpin for ColorCharacteristics
impl UnwindSafe for ColorCharacteristics
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