Trait glib::value::ToValue [−][src]
pub trait ToValue { fn to_value(&self) -> Value; fn value_type(&self) -> Type; }
Expand description
Trait to convert a value to a Value
.
Required methods
fn value_type(&self) -> Type
fn 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
Blanket implementation for all references.
Blanket implementation for all optional types.