aws_lc_rs::endian

Trait FromArray

Source
pub trait FromArray<const N: usize, T>
where Self: Sized,
{ // Required method fn from_array(a: &[T; N]) -> [Self; N]; }
Expand description

Work around the inability to implement from for arrays of Encodings due to the coherence rules.

Required Methods§

Source

fn from_array(a: &[T; N]) -> [Self; N]

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<const N: usize> FromArray<N, u32> for BigEndian<u32>

Source§

impl<const N: usize> FromArray<N, u32> for LittleEndian<u32>

Source§

impl<const N: usize> FromArray<N, u64> for BigEndian<u64>

Source§

impl<const N: usize> FromArray<N, u64> for LittleEndian<u64>