pub struct StmtAssembly {
pub assembly_token: assembly,
pub literal: Option<LitStr>,
pub flags: Option<AssemblyFlags>,
pub block: YulBlock,
}
Expand description
An assembly block, with optional flags: assembly "evmasm" { ... }
.
Fields§
§assembly_token: assembly
§literal: Option<LitStr>
§flags: Option<AssemblyFlags>
§block: YulBlock
Trait Implementations§
Source§impl Clone for StmtAssembly
impl Clone for StmtAssembly
Source§fn clone(&self) -> StmtAssembly
fn clone(&self) -> StmtAssembly
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 StmtAssembly
impl Debug for StmtAssembly
Source§impl Parse for StmtAssembly
impl Parse for StmtAssembly
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl Spanned for StmtAssembly
impl Spanned for StmtAssembly
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.Auto Trait Implementations§
impl Freeze for StmtAssembly
impl RefUnwindSafe for StmtAssembly
impl !Send for StmtAssembly
impl !Sync for StmtAssembly
impl Unpin for StmtAssembly
impl UnwindSafe for StmtAssembly
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