pub enum ByteOrder {
Little,
Big,
}Expand description
The byte order that a connection selected.
Variants§
Little
Least significant byte first. liblsl writes 1234.
Big
Most significant byte first. liblsl writes 4321.
Implementations§
Source§impl ByteOrder
impl ByteOrder
Sourcepub fn wire_value(self) -> i32
pub fn wire_value(self) -> i32
The value that liblsl writes in the Byte-Order header. SPEC.md 4.6.
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