Enum yultsur::yul::Statement [−][src]
pub enum Statement { Block(Block), FunctionDefinition(FunctionDefinition), VariableDeclaration(VariableDeclaration), Assignment(Assignment), Expression(Expression), If(If), Switch(Switch), ForLoop(ForLoop), Break, Continue, }
Variants
Block(Block)
FunctionDefinition(FunctionDefinition)
VariableDeclaration(VariableDeclaration)
Assignment(Assignment)
Expression(Expression)
If(If)
Switch(Switch)
ForLoop(ForLoop)
Break
Continue
Trait Implementations
impl Hash for Statement
[src]
impl Hash for Statement
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 Statement
[src]
impl Clone for Statement
fn clone(&self) -> Statement
[src]
fn clone(&self) -> Statement
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 Statement
[src]
impl PartialEq for Statement
fn eq(&self, other: &Statement) -> bool
[src]
fn eq(&self, other: &Statement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Statement) -> bool
[src]
fn ne(&self, other: &Statement) -> bool
This method tests for !=
.
impl Debug for Statement
[src]
impl Debug for Statement
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 Statement
[src]
impl Display for Statement
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 Statement
[src]
impl Validator for Statement