Enum rav1e::prelude::PixelRange[][src]

#[repr(C)]pub enum PixelRange {
    Limited,
    Full,
}

Allowed pixel value range

C.f. VideoFullRangeFlag variable specified in ISO/IEC 23091-4/ITU-T H.273

Variants

Limited

Studio swing representation

Full

Full swing representation

Implementations

impl PixelRange[src]

pub fn variants() -> [&'static str; 2][src]

Returns an array of valid values which can be converted into this enum.

Trait Implementations

impl Clone for PixelRange[src]

impl Copy for PixelRange[src]

impl Debug for PixelRange[src]

impl Default for PixelRange[src]

impl Display for PixelRange[src]

impl FromPrimitive for PixelRange[src]

impl FromStr for PixelRange[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<PixelRange> for PixelRange[src]

impl StructuralPartialEq for PixelRange[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.