Enum leo_asg::statement::Statement [−][src]
pub enum Statement<'a> { Return(ReturnStatement<'a>), Definition(DefinitionStatement<'a>), Assign(AssignStatement<'a>), Conditional(ConditionalStatement<'a>), Iteration(IterationStatement<'a>), Console(ConsoleStatement<'a>), Expression(ExpressionStatement<'a>), Block(BlockStatement<'a>), Empty(Option<Span>), }
Variants
Tuple Fields of Return
0: ReturnStatement<'a>
Tuple Fields of Definition
0: DefinitionStatement<'a>
Tuple Fields of Assign
0: AssignStatement<'a>
Tuple Fields of Conditional
0: ConditionalStatement<'a>
Tuple Fields of Iteration
0: IterationStatement<'a>
Tuple Fields of Console
0: ConsoleStatement<'a>
Tuple Fields of Expression
0: ExpressionStatement<'a>
Tuple Fields of Block
0: BlockStatement<'a>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Statement<'a>
impl<'a> !UnwindSafe for Statement<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more