Struct sway_ast::expr::asm::AsmBlockContents
source · pub struct AsmBlockContents {
pub instructions: Vec<(Instruction, SemicolonToken)>,
pub final_expr_opt: Option<AsmFinalExpr>,
}
Fields§
§instructions: Vec<(Instruction, SemicolonToken)>
§final_expr_opt: Option<AsmFinalExpr>
Trait Implementations§
source§impl Clone for AsmBlockContents
impl Clone for AsmBlockContents
source§fn clone(&self) -> AsmBlockContents
fn clone(&self) -> AsmBlockContents
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 AsmBlockContents
impl Debug for AsmBlockContents
Auto Trait Implementations§
impl RefUnwindSafe for AsmBlockContents
impl Send for AsmBlockContents
impl Sync for AsmBlockContents
impl Unpin for AsmBlockContents
impl UnwindSafe for AsmBlockContents
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