Struct syn_solidity::StmtAssembly
source · 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 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