#[repr(C)]pub struct BinaryInstruction {
pub opcode: u8,
pub operands: [u8; 8],
}Expand description
An instruction is always 9 bytes.
Fields§
§opcode: u8§operands: [u8; 8]Trait Implementations§
Source§impl Clone for BinaryInstruction
impl Clone for BinaryInstruction
Source§fn clone(&self) -> BinaryInstruction
fn clone(&self) -> BinaryInstruction
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 moreAuto Trait Implementations§
impl Freeze for BinaryInstruction
impl RefUnwindSafe for BinaryInstruction
impl Send for BinaryInstruction
impl Sync for BinaryInstruction
impl Unpin for BinaryInstruction
impl UnwindSafe for BinaryInstruction
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