pub struct LittleEndian {}
Expand description
This is a marker type to mark layouts using little endian encoding. The alternative is BigEndian encoding.
use binary_layout::prelude::*;
define_layout!(my_layout, LittleEndian, {
field1: i16,
field2: u32,
});
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.