pub enum Statement<'a> {
ConditionStatement {
span: Span<'a>,
condition: Condition<'a>,
},
Accept {
span: Span<'a>,
identifier: CompoundIdentifier,
values: Vec<Value>,
},
If {
span: Span<'a>,
blocks: Vec<(Condition<'a>, StatementBlock<'a>)>,
else_block: StatementBlock<'a>,
},
False {
span: Span<'a>,
},
True {
span: Span<'a>,
},
}Variants§
ConditionStatement
Accept
If
False
True
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Statement<'a>
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> UnwindSafe for Statement<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more