c2_chacha::stream_cipher::generic_array

Trait 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

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.

Implementors§

Source§

impl<T> ArrayLength<T> for UTerm

Source§

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

Source§

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