pub struct EncodedInstruction {
pub bytes: Vec<u8>,
}Expand description
Compact binary encoding of a single opcode.
Format (variable-width):
- 1 byte: opcode tag
- optional operand bytes depending on the opcode
Fields§
§bytes: Vec<u8>Raw bytes of the encoded instruction.
Implementations§
Trait Implementations§
Source§impl Clone for EncodedInstruction
impl Clone for EncodedInstruction
Source§fn clone(&self) -> EncodedInstruction
fn clone(&self) -> EncodedInstruction
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 moreSource§impl Debug for EncodedInstruction
impl Debug for EncodedInstruction
Source§impl PartialEq for EncodedInstruction
impl PartialEq for EncodedInstruction
impl Eq for EncodedInstruction
impl StructuralPartialEq for EncodedInstruction
Auto Trait Implementations§
impl Freeze for EncodedInstruction
impl RefUnwindSafe for EncodedInstruction
impl Send for EncodedInstruction
impl Sync for EncodedInstruction
impl Unpin for EncodedInstruction
impl UnsafeUnpin for EncodedInstruction
impl UnwindSafe for EncodedInstruction
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