#[repr(u8)]pub enum Format {
Undefined = 0,
Float32 = 1,
Double64 = 2,
String = 3,
Int32 = 4,
Int16 = 5,
Int8 = 6,
Int64 = 7,
}Expand description
A channel format. The values match include/lsl/common.h:64-84.
Variants§
Undefined = 0
No format. A stream never carries this.
Float32 = 1
32-bit float.
Double64 = 2
64-bit float.
String = 3
A length-prefixed byte string.
Int32 = 4
32-bit signed integer.
Int16 = 5
16-bit signed integer.
Int8 = 6
8-bit signed integer.
Int64 = 7
64-bit signed integer.
Implementations§
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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