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

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

Converts to Variant.

Required methods

fn to_variant(&self) -> Variant

Returns a Variant clone of self.

Loading content...

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]

Loading content...

Implementors

Loading content...