Struct syn_solidity::YulSwitchDefault
source · pub struct YulSwitchDefault {
pub default_token: default,
pub body: YulBlock,
}
Expand description
Represents the default case of a Yul switch statement.
Fields§
§default_token: default
§body: YulBlock
Trait Implementations§
source§impl Clone for YulSwitchDefault
impl Clone for YulSwitchDefault
source§fn clone(&self) -> YulSwitchDefault
fn clone(&self) -> YulSwitchDefault
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 YulSwitchDefault
impl Debug for YulSwitchDefault
source§impl Parse for YulSwitchDefault
impl Parse for YulSwitchDefault
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl Spanned for YulSwitchDefault
impl Spanned for YulSwitchDefault
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 YulSwitchDefault
impl !Send for YulSwitchDefault
impl !Sync for YulSwitchDefault
impl Unpin for YulSwitchDefault
impl UnwindSafe for YulSwitchDefault
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