pub enum ScalarOperand {
Literal(u64),
Fixed(u8),
Vbr(u8),
Char6,
}Expand description
Abbreviation operand
Variants§
Literal(u64)
A literal value (emitted as a VBR8 field)
Fixed(u8)
A fixed-width field
Vbr(u8)
A VBR-encoded value with the provided chunk width
Char6
A char6-encoded ASCII character
Trait Implementations§
Source§impl Clone for ScalarOperand
impl Clone for ScalarOperand
Source§fn clone(&self) -> ScalarOperand
fn clone(&self) -> ScalarOperand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScalarOperand
impl Debug for ScalarOperand
impl Copy for ScalarOperand
Auto Trait Implementations§
impl Freeze for ScalarOperand
impl RefUnwindSafe for ScalarOperand
impl Send for ScalarOperand
impl Sync for ScalarOperand
impl Unpin for ScalarOperand
impl UnwindSafe for ScalarOperand
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