[][src]Trait byte_struct::ByteStructImpl

pub trait ByteStructImpl {
    const BYTE_LEN: usize;

    fn write_le_bytes(&self, bytes: &mut [u8]);
fn read_le_bytes(bytes: &[u8]) -> Self;
fn write_be_bytes(&self, bytes: &mut [u8]);
fn read_be_bytes(bytes: &[u8]) -> Self; }

Associated Constants

Loading content...

Required methods

fn write_le_bytes(&self, bytes: &mut [u8])

fn read_le_bytes(bytes: &[u8]) -> Self

fn write_be_bytes(&self, bytes: &mut [u8])

fn read_be_bytes(bytes: &[u8]) -> Self

Loading content...

Implementations on Foreign Types

impl ByteStructImpl for u8[src]

impl ByteStructImpl for i8[src]

impl ByteStructImpl for u16[src]

impl ByteStructImpl for i16[src]

impl ByteStructImpl for u32[src]

impl ByteStructImpl for i32[src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 1][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 2][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 3][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 4][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 5][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 6][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 7][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 8][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 9][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 10][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 11][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 12][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 13][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 14][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 15][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 16][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 17][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 18][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 19][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 20][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 21][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 22][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 23][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 24][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 25][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 26][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 27][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 28][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 29][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 30][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 31][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 32][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 100][src]

impl<T: ByteStructImpl + Copy + Default> ByteStructImpl for [T; 3000][src]

Loading content...

Implementors

Loading content...