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