pub unsafe trait ArrayExt {
type Item;
const LENGTH: usize;
}
Expand description
Extension trait for fixed size arrays.
§Safety
Item
must be the type of the array’s items (eg:T
in[T; N]
).LENGTH
must be the length of the array (eg:N
in[T; N]
).
Required Associated Types§
Required Associated Constants§
Object Safety§
This trait is not object safe.