pub trait StructOfArray {
    type Type;
}
Expand description

Any struct derived by StructOfArray will auto impl this trait You can use <Cheese as StructOfArray>::Type instead of explicit named type CheeseVec; This will helpful in generics programing that generate struct can be expressed as <T as StructOfArray>::Type

Required Associated Types§

Implementors§