Struct sway_ast::expr::op_code::AddiOpcode
source · pub struct AddiOpcode { /* private fields */ }
Trait Implementations§
source§impl Clone for AddiOpcode
impl Clone for AddiOpcode
source§fn clone(&self) -> AddiOpcode
fn clone(&self) -> AddiOpcode
Returns a copy 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 AddiOpcode
impl Debug for AddiOpcode
source§impl Inst for AddiOpcode
impl Inst for AddiOpcode
§type Args = (BaseIdent, BaseIdent, AsmImmediate)
type Args = (BaseIdent, BaseIdent, AsmImmediate)
Arguments to the instruction.
fn instruction(ident: Ident, (ret, lhs, rhs): Self::Args) -> Instruction
source§impl Serialize for AddiOpcode
impl Serialize for AddiOpcode
Auto Trait Implementations§
impl RefUnwindSafe for AddiOpcode
impl Send for AddiOpcode
impl Sync for AddiOpcode
impl Unpin for AddiOpcode
impl UnwindSafe for AddiOpcode
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