Trait gstreamer_base::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 Buffers
[src]
impl FormattedValue for Buffers
fn get_default_format() -> Format
[src]
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<Buffers>
[src]
fn try_from(v: GenericFormattedValue) -> Option<Buffers>
fn get_format(&self) -> Format
[src]
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> Buffers
[src]
unsafe fn from_raw(format: Format, value: i64) -> Buffers
unsafe fn to_raw_value(&self) -> i64
[src]
unsafe fn to_raw_value(&self) -> i64
impl FormattedValue for Default
[src]
impl FormattedValue for Default
fn get_default_format() -> Format
[src]
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<Default>
[src]
fn try_from(v: GenericFormattedValue) -> Option<Default>
fn get_format(&self) -> Format
[src]
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> Default
[src]
unsafe fn from_raw(format: Format, value: i64) -> Default
unsafe fn to_raw_value(&self) -> i64
[src]
unsafe fn to_raw_value(&self) -> i64
impl FormattedValue for GenericFormattedValue
[src]
impl FormattedValue for GenericFormattedValue
fn get_default_format() -> Format
[src]
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<GenericFormattedValue>
[src]
fn try_from(v: GenericFormattedValue) -> Option<GenericFormattedValue>
fn get_format(&self) -> Format
[src]
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> GenericFormattedValue
[src]
unsafe fn from_raw(format: Format, value: i64) -> GenericFormattedValue
unsafe fn to_raw_value(&self) -> i64
[src]
unsafe fn to_raw_value(&self) -> i64
impl FormattedValue for ClockTime
[src]
impl FormattedValue for ClockTime
fn get_default_format() -> Format
[src]
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<ClockTime>
[src]
fn try_from(v: GenericFormattedValue) -> Option<ClockTime>
fn get_format(&self) -> Format
[src]
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> ClockTime
[src]
unsafe fn from_raw(format: Format, value: i64) -> ClockTime
unsafe fn to_raw_value(&self) -> i64
[src]
unsafe fn to_raw_value(&self) -> i64
impl FormattedValue for Bytes
[src]
impl FormattedValue for Bytes
fn get_default_format() -> Format
[src]
fn get_default_format() -> Format
fn try_from(v: GenericFormattedValue) -> Option<Bytes>
[src]
fn try_from(v: GenericFormattedValue) -> Option<Bytes>
fn get_format(&self) -> Format
[src]
fn get_format(&self) -> Format
unsafe fn from_raw(format: Format, value: i64) -> Bytes
[src]
unsafe fn from_raw(format: Format, value: i64) -> Bytes
unsafe fn to_raw_value(&self) -> i64
[src]
unsafe fn to_raw_value(&self) -> i64