pub struct CBOpcode {
pub operand: Operand8,
pub op: CBOperation,
}Expand description
Opcodes that come after a CB prefix opcode.
Fields§
§operand: Operand8The operand to operate on.
op: CBOperationThe operation being performed.
Implementations§
Trait Implementations§
Source§impl Ord for CBOpcode
impl Ord for CBOpcode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CBOpcode
impl PartialOrd for CBOpcode
impl Copy for CBOpcode
impl Eq for CBOpcode
impl StructuralPartialEq for CBOpcode
Auto Trait Implementations§
impl Freeze for CBOpcode
impl RefUnwindSafe for CBOpcode
impl Send for CBOpcode
impl Sync for CBOpcode
impl Unpin for CBOpcode
impl UnsafeUnpin for CBOpcode
impl UnwindSafe for CBOpcode
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