#[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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)