Enum leo_ast::statements::statement::Statement [−][src]
pub enum Statement { Return(ReturnStatement), Definition(DefinitionStatement), Assign(AssignStatement), Conditional(ConditionalStatement), Iteration(IterationStatement), Console(ConsoleStatement), Expression(ExpressionStatement), Block(Block), }
Expand description
Program statement that defines some action (or expression) to be carried out.
Variants
Tuple Fields of Return
Tuple Fields of Definition
Tuple Fields of Assign
Tuple Fields of Conditional
Tuple Fields of Iteration
Tuple Fields of Console
Tuple Fields of Expression
Tuple Fields of Block
0: Block
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Statement
impl UnwindSafe for Statement
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more