Enum CicpVideoFullRangeFlag

#[repr(u8)]
#[non_exhaustive]
pub enum CicpVideoFullRangeFlag

The used encoded value range.

Variants

NarrowRange = 0

The color components are encoded in a limited range, e.g., 16-235 for 8-bit.

Do note that image does not support computing with this setting (yet).

FullRange = 1

The color components are encoded in the full range, e.g., 0-255 for 8-bit.

Trait Implementations

impl Clone for CicpVideoFullRangeFlag

fn clone(&self) -> CicpVideoFullRangeFlag

impl Copy for CicpVideoFullRangeFlag

impl Debug for CicpVideoFullRangeFlag

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

impl Eq for CicpVideoFullRangeFlag

impl Hash for CicpVideoFullRangeFlag

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for CicpVideoFullRangeFlag

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

impl StructuralPartialEq for CicpVideoFullRangeFlag

Auto Trait Implementations

impl Freeze for CicpVideoFullRangeFlag

impl RefUnwindSafe for CicpVideoFullRangeFlag

impl Send for CicpVideoFullRangeFlag

impl Sync for CicpVideoFullRangeFlag

impl Unpin for CicpVideoFullRangeFlag

impl UnsafeUnpin for CicpVideoFullRangeFlag

impl UnwindSafe for CicpVideoFullRangeFlag

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for CicpVideoFullRangeFlag where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for CicpVideoFullRangeFlag where ST: ?Sized, DT: ?Sized,

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for CicpVideoFullRangeFlag

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for CicpVideoFullRangeFlag

impl<T> Pointable for CicpVideoFullRangeFlag

const ALIGN: usize = _;
type Init = T;
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> Read<Exclusive, BecauseExclusive> for CicpVideoFullRangeFlag where T: ?Sized,

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

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

impl<T, U> Into<U> for CicpVideoFullRangeFlag 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 CicpVideoFullRangeFlag where U: Into<T>,

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

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

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