pub enum RgbEncoding {
Srgb,
LinearSrgb,
}Expand description
RGB units for measurement, never inferred from Color. Alpha is linear
coverage in either encoding. All RGBA channels must be in 0..=1.
Variants§
Trait Implementations§
Source§impl Clone for RgbEncoding
impl Clone for RgbEncoding
Source§fn clone(&self) -> RgbEncoding
fn clone(&self) -> RgbEncoding
Returns a duplicate 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 RgbEncoding
impl Debug for RgbEncoding
Source§impl PartialEq for RgbEncoding
impl PartialEq for RgbEncoding
impl Copy for RgbEncoding
impl Eq for RgbEncoding
impl StructuralPartialEq for RgbEncoding
Auto Trait Implementations§
impl Freeze for RgbEncoding
impl RefUnwindSafe for RgbEncoding
impl Send for RgbEncoding
impl Sync for RgbEncoding
impl Unpin for RgbEncoding
impl UnwindSafe for RgbEncoding
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