gstreamer::format

Trait FormattedValueFullRange

Source
pub trait FormattedValueFullRange: FormattedValue + TryFrom<GenericFormattedValue> {
    // Required method
    unsafe fn from_raw(format: Format, value: i64) -> Self;
}
Expand description

A FormattedValue which can be built from any raw value.

§Examples:

  • GenericFormattedValue is the FormattedValueFullRange type for GenericFormattedValue.
  • Undefined is the FormattedValueFullRange type for Undefined.
  • Option<Percent> is the FormattedValueFullRange type for Percent.

Required Methods§

Source

unsafe fn from_raw(format: Format, value: i64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FormattedValueFullRange for Option<Buffers>

Source§

unsafe fn from_raw(format: Format, value: i64) -> Self

Source§

impl FormattedValueFullRange for Option<Bytes>

Source§

unsafe fn from_raw(format: Format, value: i64) -> Self

Source§

impl FormattedValueFullRange for Option<ClockTime>

Source§

unsafe fn from_raw(format: Format, value: i64) -> Self

Source§

impl FormattedValueFullRange for Option<Default>

Source§

unsafe fn from_raw(format: Format, value: i64) -> Self

Source§

impl FormattedValueFullRange for Option<Percent>

Source§

unsafe fn from_raw(format: Format, value: i64) -> Self

Implementors§