Trait glib::variant::ToVariant[][src]

pub trait ToVariant {
    fn to_variant(&self) -> Variant;
}

Converts to Variant.

Required Methods

Returns a Variant clone of self.

Implementations on Foreign Types

impl<'a, T: ?Sized + ToVariant> ToVariant for &'a T
[src]

impl ToVariant for u8
[src]

impl ToVariant for i16
[src]

impl ToVariant for u16
[src]

impl ToVariant for i32
[src]

impl ToVariant for u32
[src]

impl ToVariant for i64
[src]

impl ToVariant for u64
[src]

impl ToVariant for f64
[src]

impl ToVariant for bool
[src]

impl ToVariant for String
[src]

impl ToVariant for str
[src]

Implementors