pub struct CleverInstruction { /* private fields */ }Implementations§
Source§impl CleverInstruction
impl CleverInstruction
pub const fn new(opcode: CleverOpcode, operands: Vec<CleverOperand>) -> Self
pub const fn new_prefixed( prefix: CleverOpcode, opcode: CleverOpcode, operands: Vec<CleverOperand>, ) -> Self
pub fn prefix(&self) -> Option<CleverOpcode>
pub fn opcode(&self) -> CleverOpcode
pub fn operands(&self) -> &[CleverOperand]
pub fn set_prefix(&mut self, prefix: CleverOpcode)
Trait Implementations§
Source§impl Clone for CleverInstruction
impl Clone for CleverInstruction
Source§fn clone(&self) -> CleverInstruction
fn clone(&self) -> CleverInstruction
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 CleverInstruction
impl Debug for CleverInstruction
Source§impl Display for CleverInstruction
impl Display for CleverInstruction
Source§impl Hash for CleverInstruction
impl Hash for CleverInstruction
Source§impl PartialEq for CleverInstruction
impl PartialEq for CleverInstruction
impl Eq for CleverInstruction
impl StructuralPartialEq for CleverInstruction
Auto Trait Implementations§
impl Freeze for CleverInstruction
impl RefUnwindSafe for CleverInstruction
impl Send for CleverInstruction
impl Sync for CleverInstruction
impl Unpin for CleverInstruction
impl UnwindSafe for CleverInstruction
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