pub enum Statement<'tree> {
Expression(Box<Expression<'tree>>),
Alias(Box<Alias<'tree>>),
BeginBlock(Box<BeginBlock<'tree>>),
EndBlock(Box<EndBlock<'tree>>),
IfModifier(Box<IfModifier<'tree>>),
RescueModifier(Box<RescueModifier<'tree>>),
Undef(Box<Undef<'tree>>),
UnlessModifier(Box<UnlessModifier<'tree>>),
UntilModifier(Box<UntilModifier<'tree>>),
WhileModifier(Box<WhileModifier<'tree>>),
}Variants§
Expression(Box<Expression<'tree>>)
Alias(Box<Alias<'tree>>)
BeginBlock(Box<BeginBlock<'tree>>)
EndBlock(Box<EndBlock<'tree>>)
IfModifier(Box<IfModifier<'tree>>)
RescueModifier(Box<RescueModifier<'tree>>)
Undef(Box<Undef<'tree>>)
UnlessModifier(Box<UnlessModifier<'tree>>)
UntilModifier(Box<UntilModifier<'tree>>)
WhileModifier(Box<WhileModifier<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Statement<'tree>
impl<'tree> RefUnwindSafe for Statement<'tree>
impl<'tree> Send for Statement<'tree>
impl<'tree> Sync for Statement<'tree>
impl<'tree> Unpin for Statement<'tree>
impl<'tree> UnsafeUnpin for Statement<'tree>
impl<'tree> UnwindSafe for Statement<'tree>
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