[][src]Trait lazy_bytes_cast::array::FromByteArray

pub unsafe trait FromByteArray {
    type Array: Copy + AsRef<[u8]> + AsMut<[u8]> + BorrowMut<[u8]> + Debug;
    fn from_byte_array(arr: Self::Array) -> Self;
}

Describes conversion from byte array.

Associated Types

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

Type into which to convert.

Loading content...

Required methods

fn from_byte_array(arr: Self::Array) -> Self

Converts array to self.

Loading content...

Implementors

impl FromByteArray for f32[src]

type Array = [u8; 4]

impl FromByteArray for f64[src]

type Array = [u8; 8]

impl FromByteArray for i8[src]

type Array = [u8; 1]

impl FromByteArray for i16[src]

type Array = [u8; 2]

impl FromByteArray for i32[src]

type Array = [u8; 4]

impl FromByteArray for i64[src]

type Array = [u8; 8]

impl FromByteArray for i128[src]

type Array = [u8; 16]

impl FromByteArray for isize[src]

type Array = [u8; 8]

impl FromByteArray for u8[src]

type Array = [u8; 1]

impl FromByteArray for u16[src]

type Array = [u8; 2]

impl FromByteArray for u32[src]

type Array = [u8; 4]

impl FromByteArray for u64[src]

type Array = [u8; 8]

impl FromByteArray for u128[src]

type Array = [u8; 16]

impl FromByteArray for usize[src]

type Array = [u8; 8]

Loading content...