[][src]Trait gstreamer_pbutils::prelude::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value;
fn to_value_type(&self) -> Type; }
[]

Converts to Value.

Required methods

fn to_value(&self) -> Value[]

Returns a Value clone of self.

fn to_value_type(&self) -> Type[]

Returns the type identifer of self.

This is the type of the value to be returned by to_value.

Implementations on Foreign Types

impl ToValue for Value[src][]

impl ToValue for SendValue[src][]

impl<T> ToValue for Option<T> where
    T: SetValueOptional
[src][]

Implementors

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src][]