pub struct YulSwitchStatement {
pub expression: YulExpression,
pub cases: Vec<YulSwitchCase>,
pub default: Option<YulBlock>,
}
Fields§
§expression: YulExpression
§cases: Vec<YulSwitchCase>
§default: Option<YulBlock>
Trait Implementations§
Source§impl Clone for YulSwitchStatement
impl Clone for YulSwitchStatement
Source§fn clone(&self) -> YulSwitchStatement
fn clone(&self) -> YulSwitchStatement
Returns a duplicate 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 YulSwitchStatement
impl Debug for YulSwitchStatement
Source§impl PartialEq for YulSwitchStatement
impl PartialEq for YulSwitchStatement
impl StructuralPartialEq for YulSwitchStatement
Auto Trait Implementations§
impl Freeze for YulSwitchStatement
impl RefUnwindSafe for YulSwitchStatement
impl Send for YulSwitchStatement
impl Sync for YulSwitchStatement
impl Unpin for YulSwitchStatement
impl UnwindSafe for YulSwitchStatement
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