#[repr(u8)]pub enum RenderingIntent {
Perceptual = 0,
Relative = 1,
Saturation = 2,
Absolute = 3,
}
Expand description
Rendering intent, defined by ICC specification.
Variants§
Perceptual = 0
Perceptual; vendor-specific.
Relative = 1
Media-relative; colorimetric.
Saturation = 2
Saturation; vendor-specific.
Absolute = 3
ICC-absolute; colorimetric.
Trait Implementations§
Source§impl Clone for RenderingIntent
impl Clone for RenderingIntent
Source§fn clone(&self) -> RenderingIntent
fn clone(&self) -> RenderingIntent
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 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
Source§impl TryFrom<u32> for RenderingIntent
impl TryFrom<u32> 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 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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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