Trait glib::variant::StaticVariantType

source ·
pub trait StaticVariantType {
    // Required method
    fn static_variant_type() -> Cow<'static, VariantTy>;
}
Expand description

Returns VariantType of Self.

Required Methods§

source

fn static_variant_type() -> Cow<'static, VariantTy>

Returns the VariantType corresponding to Self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl StaticVariantType for bool

source§

impl StaticVariantType for f64

source§

impl StaticVariantType for i16

source§

impl StaticVariantType for i32

source§

impl StaticVariantType for i64

source§

impl StaticVariantType for str

source§

impl StaticVariantType for u8

source§

impl StaticVariantType for u16

source§

impl StaticVariantType for u32

source§

impl StaticVariantType for u64

source§

impl StaticVariantType for ()

source§

impl StaticVariantType for String

source§

impl StaticVariantType for OsStr

source§

impl StaticVariantType for OsString

source§

impl StaticVariantType for Path

source§

impl StaticVariantType for PathBuf

source§

impl<'a, T: ?Sized + StaticVariantType> StaticVariantType for &'a T

source§

impl<K, V> StaticVariantType for BTreeMap<K, V>

source§

impl<K, V, H> StaticVariantType for HashMap<K, V, H>

source§

impl<T0> StaticVariantType for (T0,)

source§

impl<T0, T1> StaticVariantType for (T0, T1)

source§

impl<T0, T1, T2> StaticVariantType for (T0, T1, T2)

source§

impl<T0, T1, T2, T3> StaticVariantType for (T0, T1, T2, T3)

source§

impl<T0, T1, T2, T3, T4> StaticVariantType for (T0, T1, T2, T3, T4)

source§

impl<T0, T1, T2, T3, T4, T5> StaticVariantType for (T0, T1, T2, T3, T4, T5)

source§

impl<T0, T1, T2, T3, T4, T5, T6> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

source§

impl<T: StaticVariantType> StaticVariantType for Option<T>

source§

impl<T: StaticVariantType> StaticVariantType for [T]

source§

impl<T: StaticVariantType> StaticVariantType for Vec<T>

Implementors§