SizeExt

Trait SizeExt 

Source
pub trait SizeExt: Size<Size: ArrayLength> + ToOutput {
    // Provided method
    fn to_array(&self) -> GenericArray<u8, Self::Size> { ... }
}

Provided Methods§

Source

fn to_array(&self) -> GenericArray<u8, Self::Size>

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: Size<Size: ArrayLength> + ToOutput> SizeExt for T