Struct solang_parser::pt::YulSwitch
source · [−]pub struct YulSwitch {
pub loc: Loc,
pub condition: YulExpression,
pub cases: Vec<YulSwitchOptions>,
pub default: Option<YulSwitchOptions>,
}
Fields
loc: Loc
condition: YulExpression
cases: Vec<YulSwitchOptions>
default: Option<YulSwitchOptions>
Trait Implementations
impl Eq for YulSwitch
impl StructuralEq for YulSwitch
impl StructuralPartialEq for YulSwitch
Auto Trait Implementations
impl RefUnwindSafe for YulSwitch
impl Send for YulSwitch
impl Sync for YulSwitch
impl Unpin for YulSwitch
impl UnwindSafe for YulSwitch
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