[][src]Enum gstreamer::format::GenericFormattedValue

pub enum GenericFormattedValue {
    Undefined(Undefined),
    Default(Default),
    Bytes(Bytes),
    Time(ClockTime),
    Buffers(Buffers),
    Percent(Percent),
    Other(Formati64),
}

Variants

Undefined(Undefined)
Default(Default)
Bytes(Bytes)
Time(ClockTime)
Buffers(Buffers)
Percent(Percent)
Other(Formati64)

Implementations

impl GenericFormattedValue[src]

pub fn new(format: Format, value: i64) -> Self[src]

pub fn get_format(&self) -> Format[src]

pub fn get_value(&self) -> i64[src]

Trait Implementations

impl Clone for GenericFormattedValue[src]

impl Copy for GenericFormattedValue[src]

impl Debug for GenericFormattedValue[src]

impl<'de> Deserialize<'de> for GenericFormattedValue[src]

impl Eq for GenericFormattedValue[src]

impl FormattedValue for GenericFormattedValue[src]

impl From<Buffers> for GenericFormattedValue[src]

impl From<Bytes> for GenericFormattedValue[src]

impl From<ClockTime> for GenericFormattedValue[src]

impl From<Default> for GenericFormattedValue[src]

impl From<Percent> for GenericFormattedValue[src]

impl From<Undefined> for GenericFormattedValue[src]

impl Hash for GenericFormattedValue[src]

impl PartialEq<GenericFormattedValue> for GenericFormattedValue[src]

impl Serialize for GenericFormattedValue[src]

impl StructuralEq for GenericFormattedValue[src]

impl StructuralPartialEq for GenericFormattedValue[src]

impl TryFrom<GenericFormattedValue> for Default[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

impl TryFrom<GenericFormattedValue> for Bytes[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

impl TryFrom<GenericFormattedValue> for ClockTime[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

impl TryFrom<GenericFormattedValue> for Buffers[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

impl TryFrom<GenericFormattedValue> for Undefined[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

impl TryFrom<GenericFormattedValue> for Percent[src]

type Error = TryFromGenericFormattedValueError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for GenericFormattedValue

impl Send for GenericFormattedValue

impl Sync for GenericFormattedValue

impl Unpin for GenericFormattedValue

impl UnwindSafe for GenericFormattedValue

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.