Trait glib::variant::ToVariant [−][src]
pub trait ToVariant { fn to_variant(&self) -> Variant; }
Expand description
Converts to Variant
.
Required methods
fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a Variant
clone of self
.
Implementations on Foreign Types
impl<K, V> ToVariant for HashMap<K, V> where
K: StaticVariantType + ToVariant + Eq + Hash,
V: StaticVariantType + ToVariant,
impl<K, V> ToVariant for HashMap<K, V> where
K: StaticVariantType + ToVariant + Eq + Hash,
V: StaticVariantType + ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
T14: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
T14: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
T14: ToVariant,
T15: ToVariant,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> ToVariant for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: ToVariant,
T1: ToVariant,
T2: ToVariant,
T3: ToVariant,
T4: ToVariant,
T5: ToVariant,
T6: ToVariant,
T7: ToVariant,
T8: ToVariant,
T9: ToVariant,
T10: ToVariant,
T11: ToVariant,
T12: ToVariant,
T13: ToVariant,
T14: ToVariant,
T15: ToVariant,
Implementors
impl<K, V> ToVariant for DictEntry<K, V> where
K: StaticVariantType + ToVariant + Eq + Hash,
V: StaticVariantType + ToVariant,