pub trait Array4Variant<T, V>:
IntoVariantFieldMut<V, I0, Ty = T>
+ IntoVariantFieldMut<V, I1, Ty = T>
+ IntoVariantFieldMut<V, I2, Ty = T>
+ IntoVariantFieldMut<V, I3, 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)