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
.
Implementations on Foreign Types
impl<'a, T: ?Sized + ToVariant> ToVariant for &'a T
[src]
impl<'a, T: ?Sized + ToVariant> ToVariant for &'a T
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for u8
[src]
impl ToVariant for u8
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for i16
[src]
impl ToVariant for i16
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for u16
[src]
impl ToVariant for u16
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for i32
[src]
impl ToVariant for i32
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for u32
[src]
impl ToVariant for u32
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for i64
[src]
impl ToVariant for i64
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for u64
[src]
impl ToVariant for u64
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for f64
[src]
impl ToVariant for f64
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for bool
[src]
impl ToVariant for bool
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for String
[src]
impl ToVariant for String
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
impl ToVariant for str
[src]
impl ToVariant for str
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant