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]

[src]

impl ToVariant for u8
[src]

[src]

impl ToVariant for i16
[src]

[src]

impl ToVariant for u16
[src]

[src]

impl ToVariant for i32
[src]

[src]

impl ToVariant for u32
[src]

[src]

impl ToVariant for i64
[src]

[src]

impl ToVariant for u64
[src]

[src]

impl ToVariant for f64
[src]

[src]

impl ToVariant for bool
[src]

[src]

impl ToVariant for String
[src]

[src]

impl ToVariant for str
[src]

[src]

Implementors