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.

Implementations on Foreign Types§

source§

impl<T0> StaticVariantType for (T0,)where T0: StaticVariantType,

source§

impl StaticVariantType for PathBuf

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType, T11: StaticVariantType, T12: StaticVariantType, T13: StaticVariantType,

source§

impl StaticVariantType for i32

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType, T11: StaticVariantType,

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType, T11: StaticVariantType, T12: StaticVariantType, T13: StaticVariantType, T14: StaticVariantType, T15: StaticVariantType,

source§

impl StaticVariantType for OsStr

source§

impl StaticVariantType for ()

source§

impl<K, V, H> StaticVariantType for HashMap<K, V, H>where K: StaticVariantType, V: StaticVariantType, H: BuildHasher + Default,

source§

impl StaticVariantType for u8

source§

impl StaticVariantType for f64

source§

impl StaticVariantType for Path

source§

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

source§

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

source§

impl StaticVariantType for bool

source§

impl StaticVariantType for i16

source§

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

source§

impl<T: StaticVariantType> StaticVariantType for [T]

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType, T11: StaticVariantType, T12: StaticVariantType, T13: StaticVariantType, T14: StaticVariantType,

source§

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

source§

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

source§

impl StaticVariantType for i64

source§

impl StaticVariantType for u32

source§

impl StaticVariantType for u16

source§

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

source§

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

source§

impl StaticVariantType for str

source§

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

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType,

source§

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

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)where T0: StaticVariantType, T1: StaticVariantType, T2: StaticVariantType, T3: StaticVariantType, T4: StaticVariantType, T5: StaticVariantType, T6: StaticVariantType, T7: StaticVariantType, T8: StaticVariantType, T9: StaticVariantType, T10: StaticVariantType, T11: StaticVariantType, T12: StaticVariantType,

source§

impl StaticVariantType for String

source§

impl StaticVariantType for u64

source§

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

source§

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

source§

impl StaticVariantType for OsString

source§

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

source§

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

Implementors§