Trait Array22Variant

Source
pub trait Array22Variant<T, V>:
    ArrayVariant_8_16<T, V>
    + IntoVariantFieldMut<V, I16, Ty = T>
    + IntoVariantFieldMut<V, I17, Ty = T>
    + IntoVariantFieldMut<V, I18, Ty = T>
    + IntoVariantFieldMut<V, I19, Ty = T>
    + IntoVariantFieldMut<V, I20, Ty = T>
    + IntoVariantFieldMut<V, I21, Ty = T> { }
Expand description

A structural alias for a tuple variant that’s homogeneous up to the size of the array).

The V generic parameter is the name of the variant. Examples of the V parameter for a variant named Foo:

  • TS!(Foo)
  • TS!(Bar)
  • TS!(0)

Implementors§

Source§

impl<This, V, T> Array22Variant<T, V> for This
where This: ?Sized + ArrayVariant_8_16<T, V> + IntoVariantFieldMut<V, I16, Ty = T> + IntoVariantFieldMut<V, I17, Ty = T> + IntoVariantFieldMut<V, I18, Ty = T> + IntoVariantFieldMut<V, I19, Ty = T> + IntoVariantFieldMut<V, I20, Ty = T> + IntoVariantFieldMut<V, I21, Ty = T>,