[−][src]Enum gstreamer::format::GenericFormattedValue
Variants
Undefined(Undefined)Default(Default)Bytes(Bytes)Time(ClockTime)Buffers(Buffers)Percent(Percent)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]
fn clone(&self) -> GenericFormattedValue[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for GenericFormattedValue[src]
impl Debug for GenericFormattedValue[src]
impl<'de> Deserialize<'de> for GenericFormattedValue[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for GenericFormattedValue[src]
impl FormattedValue for GenericFormattedValue[src]
fn get_default_format() -> Format[src]
fn get_format(&self) -> Format[src]
unsafe fn from_raw(format: Format, value: i64) -> Self[src]
unsafe fn to_raw_value(&self) -> i64[src]
impl From<Buffers> for GenericFormattedValue[src]
fn from(v: Buffers) -> GenericFormattedValue[src]
impl From<Bytes> for GenericFormattedValue[src]
fn from(v: Bytes) -> GenericFormattedValue[src]
impl From<ClockTime> for GenericFormattedValue[src]
fn from(v: ClockTime) -> GenericFormattedValue[src]
impl From<Default> for GenericFormattedValue[src]
fn from(v: Default) -> GenericFormattedValue[src]
impl From<Percent> for GenericFormattedValue[src]
fn from(v: Percent) -> GenericFormattedValue[src]
impl From<Undefined> for GenericFormattedValue[src]
fn from(v: Undefined) -> GenericFormattedValue[src]
impl Hash for GenericFormattedValue[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<GenericFormattedValue> for GenericFormattedValue[src]
fn eq(&self, other: &GenericFormattedValue) -> bool[src]
fn ne(&self, other: &GenericFormattedValue) -> bool[src]
impl Serialize for GenericFormattedValue[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
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.
fn try_from(
v: GenericFormattedValue
) -> Result<Default, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<Default, TryFromGenericFormattedValueError>
impl TryFrom<GenericFormattedValue> for Bytes[src]
type Error = TryFromGenericFormattedValueError
The type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Bytes, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<Bytes, TryFromGenericFormattedValueError>
impl TryFrom<GenericFormattedValue> for ClockTime[src]
type Error = TryFromGenericFormattedValueError
The type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<ClockTime, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<ClockTime, TryFromGenericFormattedValueError>
impl TryFrom<GenericFormattedValue> for Buffers[src]
type Error = TryFromGenericFormattedValueError
The type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Buffers, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<Buffers, TryFromGenericFormattedValueError>
impl TryFrom<GenericFormattedValue> for Undefined[src]
type Error = TryFromGenericFormattedValueError
The type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Undefined, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<Undefined, TryFromGenericFormattedValueError>
impl TryFrom<GenericFormattedValue> for Percent[src]
type Error = TryFromGenericFormattedValueError
The type returned in the event of a conversion error.
fn try_from(
v: GenericFormattedValue
) -> Result<Percent, TryFromGenericFormattedValueError>[src]
v: GenericFormattedValue
) -> Result<Percent, TryFromGenericFormattedValueError>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,