[][src]Enum gstreamer_video::VideoTransferFunction

#[non_exhaustive]pub enum VideoTransferFunction {
    Unknown,
    Gamma10,
    Gamma18,
    Gamma20,
    Gamma22,
    Bt709,
    Smpte240m,
    Srgb,
    Gamma28,
    Log100,
    Log316,
    Bt202012,
    Adobergb,
    Bt202010,
    Smpte2084,
    AribStdB67,
    Bt601,
    // some variants omitted
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Gamma10
Gamma18
Gamma20
Gamma22
Bt709
Smpte240m
Srgb
Gamma28
Log100
Log316
Bt202012
Adobergb
Bt202010
Smpte2084
AribStdB67
Bt601

Implementations

impl VideoTransferFunction[src]

pub fn from_iso(iso: u32) -> Result<VideoTransferFunction, BoolError>[src]

pub fn to_iso(&self) -> u32[src]

pub fn is_equivalent(
    &self,
    from_bpp: u32,
    to_func: VideoTransferFunction,
    to_bpp: u32
) -> bool
[src]

Trait Implementations

impl Clone for VideoTransferFunction[src]

impl Copy for VideoTransferFunction[src]

impl Debug for VideoTransferFunction[src]

impl Eq for VideoTransferFunction[src]

impl<'a> FromValue<'a> for VideoTransferFunction[src]

impl<'a> FromValueOptional<'a> for VideoTransferFunction[src]

impl Hash for VideoTransferFunction[src]

impl Ord for VideoTransferFunction[src]

impl PartialEq<VideoTransferFunction> for VideoTransferFunction[src]

impl PartialOrd<VideoTransferFunction> for VideoTransferFunction[src]

impl SetValue for VideoTransferFunction[src]

impl StaticType for VideoTransferFunction[src]

impl StructuralEq for VideoTransferFunction[src]

impl StructuralPartialEq for VideoTransferFunction[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?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.