Trait glib::variant::ToVariant
[−]
[src]
pub trait ToVariant { fn to_variant(&self) -> Variant; }
Converts to Variant
.
Required Methods
fn to_variant(&self) -> Variant
Returns a Variant
clone of self
.
Implementors
impl<'a, T: ?Sized + ToVariant> ToVariant for &'a T
impl ToVariant for u8
impl ToVariant for i16
impl ToVariant for u16
impl ToVariant for i32
impl ToVariant for u32
impl ToVariant for i64
impl ToVariant for u64
impl ToVariant for f64
impl ToVariant for bool
impl ToVariant for String
impl ToVariant for str