pub enum MODER {
NOINSTR,
OPCODE,
OPBYTE0,
ALL,
}
Expand description
Possible values of the field MODE
Variants
NOINSTR
Do not send any instruction.
OPCODE
Send opcode.
OPBYTE0
Send opcode, byte0.
ALL
Send opcode, byte0, byte1.
Implementations
sourceimpl MODER
impl MODER
sourcepub fn is_no_instr(&self) -> bool
pub fn is_no_instr(&self) -> bool
Checks if the value of the field is NOINSTR
sourcepub fn is_op_byte0(&self) -> bool
pub fn is_op_byte0(&self) -> bool
Checks if the value of the field is OPBYTE0
Trait Implementations
impl Copy for MODER
impl StructuralPartialEq for MODER
Auto Trait Implementations
impl RefUnwindSafe for MODER
impl Send for MODER
impl Sync for MODER
impl Unpin for MODER
impl UnwindSafe for MODER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more