Enum jpegxl_rs::encode::ColorEncoding
source · pub enum ColorEncoding {
Srgb,
LinearSrgb,
SrgbLuma,
LinearSrgbLuma,
}
Expand description
Encoding color profile
Variants§
Srgb
SRGB, default for uint pixel types
LinearSrgb
Linear SRGB, default for float pixel types
SrgbLuma
SRGB, images with only luma channel
LinearSrgbLuma
Linear SRGB with only luma channel
Trait Implementations§
source§impl Clone for ColorEncoding
impl Clone for ColorEncoding
source§fn clone(&self) -> ColorEncoding
fn clone(&self) -> ColorEncoding
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 ColorEncoding
impl Debug for ColorEncoding
source§impl From<ColorEncoding> for JxlColorEncoding
impl From<ColorEncoding> for JxlColorEncoding
source§fn from(val: ColorEncoding) -> Self
fn from(val: ColorEncoding) -> Self
Converts to this type from the input type.
impl Copy for ColorEncoding
Auto Trait Implementations§
impl Freeze for ColorEncoding
impl RefUnwindSafe for ColorEncoding
impl Send for ColorEncoding
impl Sync for ColorEncoding
impl Unpin for ColorEncoding
impl UnwindSafe for ColorEncoding
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