Skip to main content

StaticVariantType

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StaticVariantType for ()

Source§

impl StaticVariantType for OsStr

Source§

impl StaticVariantType for OsString

Source§

impl StaticVariantType for Path

Source§

impl StaticVariantType for PathBuf

Source§

impl StaticVariantType for String

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<K, V, H> StaticVariantType for HashMap<K, V, H>

Source§

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

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

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> StaticVariantType for (T0, T1, T2, T3, T4, T5, T6, T7)

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> StaticVariantType for (T0, T1, T2, T3, T4, T5)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T0> StaticVariantType for (T0,)

Source§

impl<T: ?Sized + StaticVariantType> StaticVariantType for &T

Source§

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

Source§

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

Source§

impl<T: StaticVariantType> StaticVariantType for [T]

Implementors§