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 moresourceimpl 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
impl Eq for YulSwitchOptions
impl StructuralEq for YulSwitchOptions
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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