Enum RenderingIntent

pub enum RenderingIntent

Rendering intents indicate what one may want to do with colors outside of it's gamut

Further reading

Variants

AbsoluteColorimetric
Saturation
RelativeColorimetric
Perceptual

Trait Implementations

impl Clone for RenderingIntent

fn clone(&self) -> RenderingIntent

impl Copy for RenderingIntent

impl Debug for RenderingIntent

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for RenderingIntent

impl PartialEq for RenderingIntent

fn eq(&self, other: &RenderingIntent) -> bool

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

impl<T> Any for RenderingIntent where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for RenderingIntent where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for RenderingIntent where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for RenderingIntent where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for RenderingIntent

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for RenderingIntent where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for RenderingIntent where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for RenderingIntent where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for RenderingIntent where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>