Enum ColorSpace

enum ColorSpace

An enumeration over supported AVIF color spaces

Variants

Srgb

sRGB colorspace

Bt709

BT.709 colorspace

Implementations

impl Clone for ColorSpace

fn clone(self: &Self) -> ColorSpace

impl Copy for ColorSpace

impl Debug for ColorSpace

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

impl Eq for ColorSpace

impl Freeze for ColorSpace

impl PartialEq for ColorSpace

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

impl RefUnwindSafe for ColorSpace

impl Send for ColorSpace

impl StructuralPartialEq for ColorSpace

impl Sync for ColorSpace

impl Unpin for ColorSpace

impl UnsafeUnpin for ColorSpace

impl UnwindSafe for ColorSpace

impl<T> Any for ColorSpace

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ColorSpace

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ColorSpace

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

impl<T> CloneToUninit for ColorSpace

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

impl<T> From for ColorSpace

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ColorSpace

unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToOwned for ColorSpace

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ColorSpace

fn into(self: 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 for ColorSpace

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ColorSpace

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