Struct sway_ast::expr::op_code::ModiOpcode
source · pub struct ModiOpcode { /* private fields */ }
Trait Implementations§
source§impl Clone for ModiOpcode
impl Clone for ModiOpcode
source§fn clone(&self) -> ModiOpcode
fn clone(&self) -> ModiOpcode
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 ModiOpcode
impl Debug for ModiOpcode
source§impl Inst for ModiOpcode
impl Inst for ModiOpcode
§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 ModiOpcode
impl Serialize for ModiOpcode
Auto Trait Implementations§
impl RefUnwindSafe for ModiOpcode
impl Send for ModiOpcode
impl Sync for ModiOpcode
impl Unpin for ModiOpcode
impl UnwindSafe for ModiOpcode
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