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 Freeze for YulSwitchDefault
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