#[repr(u32)]pub enum RenderingIntent {
AbsoluteColorimetric = 3,
Saturation = 2,
RelativeColorimetric = 1,
Perceptual = 0,
}
Variants§
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 From<RenderingIntent> for u32
impl From<RenderingIntent> for u32
Source§fn from(value: RenderingIntent) -> Self
fn from(value: RenderingIntent) -> Self
Converts to this type from the input type.
Source§impl Hash for RenderingIntent
impl Hash for RenderingIntent
Source§impl Ord for RenderingIntent
impl Ord for RenderingIntent
Source§fn cmp(&self, other: &RenderingIntent) -> Ordering
fn cmp(&self, other: &RenderingIntent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RenderingIntent
impl PartialEq for RenderingIntent
Source§impl PartialOrd for RenderingIntent
impl PartialOrd 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