[][src]Trait lazy_bytes_cast::array::IntoByteArray

pub trait IntoByteArray: Copy {
    type Array: Copy;
    fn into_byte_array(self) -> Self::Array;
}

Describes conversion to byte array.

Associated Types

type Array: Copy

Type into which to convert.

Loading content...

Required methods

fn into_byte_array(self) -> Self::Array

Performs conversion of self into Array.

Loading content...

Implementations on Foreign Types

impl IntoByteArray for u8[src]

type Array = [u8; 1]

impl IntoByteArray for i8[src]

type Array = [u8; 1]

impl IntoByteArray for u16[src]

type Array = [u8; 2]

impl IntoByteArray for i16[src]

type Array = [u8; 2]

impl IntoByteArray for u32[src]

type Array = [u8; 4]

impl IntoByteArray for i32[src]

type Array = [u8; 4]

impl IntoByteArray for f32[src]

type Array = [u8; 4]

impl IntoByteArray for u64[src]

type Array = [u8; 8]

impl IntoByteArray for i64[src]

type Array = [u8; 8]

impl IntoByteArray for f64[src]

type Array = [u8; 8]

impl IntoByteArray for usize[src]

type Array = [u8; 8]

impl IntoByteArray for isize[src]

type Array = [u8; 8]

Loading content...

Implementors

Loading content...