Trait numeric_array::NumericSequence
[−]
[src]
pub trait NumericSequence<T>: Sized { type Length: ArrayLength<T>; }
Defines any NumericArray
type as its element and length types
This is useful for situations where the element type and length can be variable,
but you need a generic type bound and don't want to deal with
T
and N: ArrayLength<T>
from NumericArray<T, N>
directly.
Associated Types
type Length: ArrayLength<T>
Array length type
Implementors
impl<T, N: ArrayLength<T>> NumericSequence<T> for NumericArray<T, N> type Length = N;