Enum solang_parser::pt::YulSwitchOptions
source · [−]pub enum YulSwitchOptions {
Case(Loc, YulExpression, YulBlock),
Default(Loc, YulBlock),
}Variants
Case(Loc, YulExpression, YulBlock)
Default(Loc, YulBlock)
Trait Implementations
sourceimpl Clone for YulSwitchOptions
impl Clone for YulSwitchOptions
sourcefn clone(&self) -> YulSwitchOptions
fn clone(&self) -> YulSwitchOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl CodeLocation for YulSwitchOptions
impl CodeLocation for YulSwitchOptions
sourceimpl Debug for YulSwitchOptions
impl Debug for YulSwitchOptions
sourceimpl PartialEq<YulSwitchOptions> for YulSwitchOptions
impl PartialEq<YulSwitchOptions> for YulSwitchOptions
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &YulSwitchOptions) -> bool
fn ne(&self, other: &YulSwitchOptions) -> bool
This method tests for !=.
impl StructuralPartialEq for YulSwitchOptions
Auto Trait Implementations
impl RefUnwindSafe for YulSwitchOptions
impl Send for YulSwitchOptions
impl Sync for YulSwitchOptions
impl Unpin for YulSwitchOptions
impl UnwindSafe for YulSwitchOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more