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

Convert a value to a Value.

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.

Implementors