pub struct Opcode {
pub byte: u8,
pub x: U2,
pub y: U3,
pub z: U3,
pub p: U2,
pub q: U1,
}
Expand description
Opcode, divided in parts
xxyyyzzz
xxppqzzz
Used for splitting opcode byte into parts
Fields§
§byte: u8
§x: U2
§y: U3
§z: U3
§p: U2
§q: U1
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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