Enum solang_parser::pt::YulSwitchOptions
source · pub enum YulSwitchOptions {
Case(Loc, YulExpression, YulBlock),
Default(Loc, YulBlock),
}Variants§
Trait Implementations§
source§impl Clone for YulSwitchOptions
impl Clone for YulSwitchOptions
source§fn clone(&self) -> YulSwitchOptions
fn clone(&self) -> YulSwitchOptions
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 CodeLocation for YulSwitchOptions
impl CodeLocation for YulSwitchOptions
source§impl Debug for YulSwitchOptions
impl Debug for YulSwitchOptions
source§impl PartialEq<YulSwitchOptions> for YulSwitchOptions
impl PartialEq<YulSwitchOptions> for YulSwitchOptions
source§fn eq(&self, other: &YulSwitchOptions) -> bool
fn eq(&self, other: &YulSwitchOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.