pub enum DecodeMode {
NoDecode = 0,
CodeBDigit0 = 1,
CodeBDigits3_0 = 15,
CodeBDigits7_0 = 255,
}
Expand description
Decode modes for BCD encoded input.
Variants§
NoDecode = 0
No decode for BCD encoded input.
CodeBDigit0 = 1
CodeBDigits3_0 = 15
CodeBDigits7_0 = 255
Trait Implementations§
Source§impl Clone for DecodeMode
impl Clone for DecodeMode
Source§fn clone(&self) -> DecodeMode
fn clone(&self) -> DecodeMode
Returns a copy 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 moreimpl Copy for DecodeMode
Auto Trait Implementations§
impl Freeze for DecodeMode
impl RefUnwindSafe for DecodeMode
impl Send for DecodeMode
impl Sync for DecodeMode
impl Unpin for DecodeMode
impl UnwindSafe for DecodeMode
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