Struct yultsur::yul::Switch [−][src]
pub struct Switch { pub expression: Expression, pub cases: Vec<Case>, }
Fields
expression: Expression
cases: Vec<Case>
Trait Implementations
impl Hash for Switch
[src]
impl Hash for Switch
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Switch
[src]
impl Clone for Switch
fn clone(&self) -> Switch
[src]
fn clone(&self) -> Switch
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Switch
[src]
impl PartialEq for Switch
fn eq(&self, other: &Switch) -> bool
[src]
fn eq(&self, other: &Switch) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Switch) -> bool
[src]
fn ne(&self, other: &Switch) -> bool
This method tests for !=
.
impl Debug for Switch
[src]
impl Debug for Switch
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Switch
[src]
impl Display for Switch
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Validator for Switch
[src]
impl Validator for Switch