#[repr(u8)]pub enum RenderingIntent {
Perceptual = 0,
Relative = 1,
Saturation = 2,
Absolute = 3,
}Expand description
Rendering intent.
Variants§
Perceptual = 0
Perceptual (libjxl default for lossless encoding).
Relative = 1
Relative colorimetric.
Saturation = 2
Saturation.
Absolute = 3
Absolute colorimetric.
Trait Implementations§
Source§impl Clone for RenderingIntent
impl Clone for RenderingIntent
Source§fn clone(&self) -> RenderingIntent
fn clone(&self) -> RenderingIntent
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 RenderingIntent
impl Debug for RenderingIntent
Source§impl Default for RenderingIntent
impl Default for RenderingIntent
Source§fn default() -> RenderingIntent
fn default() -> RenderingIntent
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderingIntent
impl PartialEq for RenderingIntent
impl Copy for RenderingIntent
impl Eq for RenderingIntent
impl StructuralPartialEq for RenderingIntent
Auto Trait Implementations§
impl Freeze for RenderingIntent
impl RefUnwindSafe for RenderingIntent
impl Send for RenderingIntent
impl Sync for RenderingIntent
impl Unpin for RenderingIntent
impl UnsafeUnpin for RenderingIntent
impl UnwindSafe for RenderingIntent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more