[][src]Enum gstreamer_video::VideoChromaMode

#[non_exhaustive]pub enum VideoChromaMode {
    Full,
    UpsampleOnly,
    DownsampleOnly,
    None,
    // some variants omitted
}

Different chroma downsampling and upsampling modes

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.
Full

do full chroma up and down sampling

UpsampleOnly

only perform chroma upsampling

DownsampleOnly

only perform chroma downsampling

None

disable chroma resampling

Trait Implementations

impl Clone for VideoChromaMode[src]

impl Copy for VideoChromaMode[src]

impl Debug for VideoChromaMode[src]

impl Eq for VideoChromaMode[src]

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

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

impl Hash for VideoChromaMode[src]

impl Ord for VideoChromaMode[src]

impl PartialEq<VideoChromaMode> for VideoChromaMode[src]

impl PartialOrd<VideoChromaMode> for VideoChromaMode[src]

impl SetValue for VideoChromaMode[src]

impl StaticType for VideoChromaMode[src]

impl StructuralEq for VideoChromaMode[src]

impl StructuralPartialEq for VideoChromaMode[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoChromaMode

impl Send for VideoChromaMode

impl Sync for VideoChromaMode

impl Unpin for VideoChromaMode

impl UnwindSafe for VideoChromaMode

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.