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
Return(ReturnStatement)
Definition(DefinitionStatement)
Assign(AssignStatement)
Conditional(ConditionalStatement)
Iteration(IterationStatement)
Console(ConsoleStatement)
Expression(ExpressionStatement)
Block(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