Enum gstreamer::format::GenericFormattedValue [−][src]
pub enum GenericFormattedValue {
Undefined(Undefined),
Default(Default),
Bytes(Bytes),
Time(ClockTime),
Buffers(Buffers),
Percent(Percent),
Other(Format, i64),
}Variants
Undefined(Undefined)Default(Default)Bytes(Bytes)Time(ClockTime)Buffers(Buffers)Percent(Percent)Implementations
impl GenericFormattedValue[src]
impl GenericFormattedValue[src]Trait Implementations
impl Clone for GenericFormattedValue[src]
impl Clone for GenericFormattedValue[src]fn clone(&self) -> GenericFormattedValue[src]
fn clone(&self) -> GenericFormattedValue[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for GenericFormattedValue[src]
impl Debug for GenericFormattedValue[src]impl<'de> Deserialize<'de> for GenericFormattedValue[src]
impl<'de> Deserialize<'de> for GenericFormattedValue[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl FormattedValue for GenericFormattedValue[src]
impl FormattedValue for GenericFormattedValue[src]impl From<Buffers> for GenericFormattedValue[src]
impl From<Buffers> for GenericFormattedValue[src]impl From<Bytes> for GenericFormattedValue[src]
impl From<Bytes> for GenericFormattedValue[src]impl From<ClockTime> for GenericFormattedValue[src]
impl From<ClockTime> for GenericFormattedValue[src]impl From<Default> for GenericFormattedValue[src]
impl From<Default> for GenericFormattedValue[src]impl From<Percent> for GenericFormattedValue[src]
impl From<Percent> for GenericFormattedValue[src]impl From<Undefined> for GenericFormattedValue[src]
impl From<Undefined> for GenericFormattedValue[src]impl Hash for GenericFormattedValue[src]
impl Hash for GenericFormattedValue[src]impl PartialEq<GenericFormattedValue> for GenericFormattedValue[src]
impl PartialEq<GenericFormattedValue> for GenericFormattedValue[src]fn eq(&self, other: &GenericFormattedValue) -> bool[src]
fn eq(&self, other: &GenericFormattedValue) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &GenericFormattedValue) -> bool[src]
fn ne(&self, other: &GenericFormattedValue) -> bool[src]This method tests for !=.
impl Serialize for GenericFormattedValue[src]
impl Serialize for GenericFormattedValue[src]impl TryFrom<GenericFormattedValue> for Default[src]
impl TryFrom<GenericFormattedValue> for Default[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
impl TryFrom<GenericFormattedValue> for Bytes[src]
impl TryFrom<GenericFormattedValue> for Bytes[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
impl TryFrom<GenericFormattedValue> for ClockTime[src]
impl TryFrom<GenericFormattedValue> for ClockTime[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
impl TryFrom<GenericFormattedValue> for Buffers[src]
impl TryFrom<GenericFormattedValue> for Buffers[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
impl TryFrom<GenericFormattedValue> for Undefined[src]
impl TryFrom<GenericFormattedValue> for Undefined[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Undefined, TryFromGenericFormattedValueError>[src]
fn try_from(
v: GenericFormattedValue
) -> Result<Undefined, TryFromGenericFormattedValueError>[src]Performs the conversion.
impl TryFrom<GenericFormattedValue> for Percent[src]
impl TryFrom<GenericFormattedValue> for Percent[src]type Error = TryFromGenericFormattedValueError
type Error = TryFromGenericFormattedValueErrorThe type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Percent, TryFromGenericFormattedValueError>[src]
fn try_from(
v: GenericFormattedValue
) -> Result<Percent, TryFromGenericFormattedValueError>[src]Performs the conversion.
impl Copy for GenericFormattedValue[src]
impl Eq for GenericFormattedValue[src]
impl StructuralEq for GenericFormattedValue[src]
impl StructuralPartialEq for GenericFormattedValue[src]
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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,