cipher

Trait ArrayLength

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§

type ArrayType

Associated type representing the array type for the number

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<T> ArrayLength<T> for UTerm

§

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

§

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

Implementors§