Trait gstreamer::format::FormattedValue
source · pub trait FormattedValue:
Copy
+ Clone
+ Sized
+ Into<GenericFormattedValue>
+ 'static {
type FullRange: FormattedValueFullRange + From<Self>;
// Required methods
fn default_format() -> Format;
fn format(&self) -> Format;
fn is_some(&self) -> bool;
unsafe fn into_raw_value(self) -> i64;
// Provided method
fn is_none(&self) -> bool { ... }
}
Required Associated Types§
sourcetype FullRange: FormattedValueFullRange + From<Self>
type FullRange: FormattedValueFullRange + From<Self>
Type which allows building a FormattedValue
of this format from any raw value.
Required Methods§
fn default_format() -> Format
fn format(&self) -> Format
unsafe fn into_raw_value(self) -> i64
Provided Methods§
Object Safety§
This trait is not object safe.