Enum gstreamer::Format [−][src]
#[non_exhaustive] pub enum Format { Undefined, Default, Bytes, Time, Buffers, Percent, // some variants omitted }
Expand description
Standard predefined formats
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
undefined format
the default format of the pad/element. This can be
samples for raw audio, frames/fields for raw video (some, but not all,
elements support this; use Time
if you don’t have a good
reason to query for samples/frames)
bytes
time in nanoseconds
buffers (few, if any, elements implement this as of May 2009)
percentage of stream (few, if any, elements implement this as of May 2009)
Implementations
Trait Implementations
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
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.