pub enum ByteOrder {
Motorola,
Intel,
}Expand description
Byte order of a signal’s bit layout.
Variants§
Motorola
Big-endian (“Motorola”): start_bit names the MSB, in the classic
sawtooth DBC numbering (@0 in the grammar).
Intel
Little-endian (“Intel”): start_bit names the LSB, laid out linearly
ascending (@1 in the grammar).
Trait Implementations§
impl Copy for ByteOrder
impl Eq for ByteOrder
impl StructuralPartialEq for ByteOrder
Auto Trait Implementations§
impl Freeze for ByteOrder
impl RefUnwindSafe for ByteOrder
impl Send for ByteOrder
impl Sync for ByteOrder
impl Unpin for ByteOrder
impl UnsafeUnpin for ByteOrder
impl UnwindSafe for ByteOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more