Trait generic_array::ArrayLength

source ·
pub unsafe trait ArrayLength<T>: Unsigned {
    type ArrayType;
}
Expand description

Trait making GenericArray work, marking types to be used as length of an array

Required Associated Types§

source

type ArrayType

Associated type representing the array type for the number

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ArrayLength<T> for UTerm

source§

impl<T, N: ArrayLength<T>> ArrayLength<T> for UInt<N, B0>

source§

impl<T, N: ArrayLength<T>> ArrayLength<T> for UInt<N, B1>

Implementors§