#[repr(u8)]pub enum SrgbRenderingIntent {
Perceptual = 0,
RelativeColorimetric = 1,
Saturation = 2,
AbsoluteColorimetric = 3,
}
Expand description
The rendering intent for an sRGB image.
Presence of this data also indicates that the image conforms to the sRGB color space.
Variants§
Perceptual = 0
For images preferring good adaptation to the output device gamut at the expense of colorimetric accuracy, such as photographs.
RelativeColorimetric = 1
For images requiring colour appearance matching (relative to the output device white point), such as logos.
Saturation = 2
For images preferring preservation of saturation at the expense of hue and lightness, such as charts and graphs.
AbsoluteColorimetric = 3
For images requiring preservation of absolute colorimetry, such as previews of images destined for a different output device (proofs).
Implementations§
Trait Implementations§
source§impl Clone for SrgbRenderingIntent
impl Clone for SrgbRenderingIntent
source§fn clone(&self) -> SrgbRenderingIntent
fn clone(&self) -> SrgbRenderingIntent
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 SrgbRenderingIntent
impl Debug for SrgbRenderingIntent
source§impl PartialEq for SrgbRenderingIntent
impl PartialEq for SrgbRenderingIntent
impl Copy for SrgbRenderingIntent
impl Eq for SrgbRenderingIntent
impl StructuralPartialEq for SrgbRenderingIntent
Auto Trait Implementations§
impl Freeze for SrgbRenderingIntent
impl RefUnwindSafe for SrgbRenderingIntent
impl Send for SrgbRenderingIntent
impl Sync for SrgbRenderingIntent
impl Unpin for SrgbRenderingIntent
impl UnwindSafe for SrgbRenderingIntent
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§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
)