Struct sway_parse::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
sourceimpl Clone for AsmBlockContents
impl Clone for AsmBlockContents
sourcefn clone(&self) -> AsmBlockContents
fn clone(&self) -> AsmBlockContents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AsmBlockContents
impl Debug for AsmBlockContents
sourceimpl ParseToEnd for AsmBlockContents
impl ParseToEnd for AsmBlockContents
fn parse_to_end<'a, 'e>(
parser: Parser<'a, 'e>
) -> ParseResult<(AsmBlockContents, ParserConsumed<'a>)>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more