Trait gstreamer_video::prelude::FormattedValue [−][src]
pub trait FormattedValue: 'static + Copy + Clone { fn get_default_format() -> Format; fn try_from(v: GenericFormattedValue) -> Option<Self>; fn get_format(&self) -> Format; unsafe fn from_raw(format: Format, value: i64) -> Self; unsafe fn to_raw_value(&self) -> i64; }
Required Methods
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<Self>
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> Self
unsafe fn to_raw_value(&self) -> i64
Implementations on Foreign Types
impl FormattedValue for Bytes[src]
impl FormattedValue for Bytesfn get_default_format() -> Format[src]
fn get_default_format() -> Formatfn try_from(v: GenericFormattedValue) -> Option<Bytes>[src]
fn try_from(v: GenericFormattedValue) -> Option<Bytes>fn get_format(&self) -> Format[src]
fn get_format(&self) -> Formatunsafe fn from_raw(format: Format, value: i64) -> Bytes[src]
unsafe fn from_raw(format: Format, value: i64) -> Bytesunsafe fn to_raw_value(&self) -> i64[src]
unsafe fn to_raw_value(&self) -> i64impl FormattedValue for GenericFormattedValue[src]
impl FormattedValue for GenericFormattedValuefn get_default_format() -> Format[src]
fn get_default_format() -> Formatfn try_from(v: GenericFormattedValue) -> Option<GenericFormattedValue>[src]
fn try_from(v: GenericFormattedValue) -> Option<GenericFormattedValue>fn get_format(&self) -> Format[src]
fn get_format(&self) -> Formatunsafe fn from_raw(format: Format, value: i64) -> GenericFormattedValue[src]
unsafe fn from_raw(format: Format, value: i64) -> GenericFormattedValueunsafe fn to_raw_value(&self) -> i64[src]
unsafe fn to_raw_value(&self) -> i64impl FormattedValue for Default[src]
impl FormattedValue for Defaultfn get_default_format() -> Format[src]
fn get_default_format() -> Formatfn try_from(v: GenericFormattedValue) -> Option<Default>[src]
fn try_from(v: GenericFormattedValue) -> Option<Default>fn get_format(&self) -> Format[src]
fn get_format(&self) -> Formatunsafe fn from_raw(format: Format, value: i64) -> Default[src]
unsafe fn from_raw(format: Format, value: i64) -> Defaultunsafe fn to_raw_value(&self) -> i64[src]
unsafe fn to_raw_value(&self) -> i64impl FormattedValue for ClockTime[src]
impl FormattedValue for ClockTimefn get_default_format() -> Format[src]
fn get_default_format() -> Formatfn try_from(v: GenericFormattedValue) -> Option<ClockTime>[src]
fn try_from(v: GenericFormattedValue) -> Option<ClockTime>fn get_format(&self) -> Format[src]
fn get_format(&self) -> Formatunsafe fn from_raw(format: Format, value: i64) -> ClockTime[src]
unsafe fn from_raw(format: Format, value: i64) -> ClockTimeunsafe fn to_raw_value(&self) -> i64[src]
unsafe fn to_raw_value(&self) -> i64impl FormattedValue for Buffers[src]
impl FormattedValue for Buffersfn get_default_format() -> Format[src]
fn get_default_format() -> Formatfn try_from(v: GenericFormattedValue) -> Option<Buffers>[src]
fn try_from(v: GenericFormattedValue) -> Option<Buffers>fn get_format(&self) -> Format[src]
fn get_format(&self) -> Formatunsafe fn from_raw(format: Format, value: i64) -> Buffers[src]
unsafe fn from_raw(format: Format, value: i64) -> Buffersunsafe fn to_raw_value(&self) -> i64[src]
unsafe fn to_raw_value(&self) -> i64