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

pub trait IntoByteArray: Copy {
    type Array: Copy + AsRef<[u8]> + AsMut<[u8]> + BorrowMut<[u8]> + Debug;
    fn into_byte_array(self) -> Self::Array;
}

Describes conversion to byte array.

Associated Types

type Array: Copy + AsRef<[u8]> + AsMut<[u8]> + BorrowMut<[u8]> + Debug

Type into which to convert.

Loading content...

Required methods

fn into_byte_array(self) -> Self::Array

Performs conversion of self into Array.

Loading content...

Implementors

impl IntoByteArray for f32[src]

type Array = [u8; 4]

impl IntoByteArray for f64[src]

type Array = [u8; 8]

impl IntoByteArray for i8[src]

type Array = [u8; 1]

impl IntoByteArray for i16[src]

type Array = [u8; 2]

impl IntoByteArray for i32[src]

type Array = [u8; 4]

impl IntoByteArray for i64[src]

type Array = [u8; 8]

impl IntoByteArray for i128[src]

type Array = [u8; 16]

impl IntoByteArray for isize[src]

type Array = [u8; 8]

impl IntoByteArray for u8[src]

type Array = [u8; 1]

impl IntoByteArray for u16[src]

type Array = [u8; 2]

impl IntoByteArray for u32[src]

type Array = [u8; 4]

impl IntoByteArray for u64[src]

type Array = [u8; 8]

impl IntoByteArray for u128[src]

type Array = [u8; 16]

impl IntoByteArray for usize[src]

type Array = [u8; 8]

Loading content...