pub enum DataField {
None,
Int(u8),
Real32,
Bcd(u8),
Variable,
Selection,
}Expand description
The data field of a DIF: how the value is coded.
Variants§
None
No data.
Int(u8)
Two’s-complement integer, little-endian, of this many bytes.
Real32
32-bit IEEE 754 real.
Bcd(u8)
BCD, little-endian, of this many bytes (2 digits each).
Variable
Variable length, announced by an LVAR byte.
Selection
Selection for readout (no data).
Implementations§
Trait Implementations§
impl Copy for DataField
impl Eq for DataField
impl StructuralPartialEq for DataField
Auto Trait Implementations§
impl Forget for DataField
impl Freeze for DataField
impl Move for DataField
impl RefUnwindSafe for DataField
impl Send for DataField
impl Sync for DataField
impl Unpin for DataField
impl UnsafeUnpin for DataField
impl UnwindSafe for DataField
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