pub enum SwitchRuleChildren<'tree> {
Block(Box<Block<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
SwitchLabel(Box<SwitchLabel<'tree>>),
ThrowStatement(Box<ThrowStatement<'tree>>),
}Variants§
Block(Box<Block<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
SwitchLabel(Box<SwitchLabel<'tree>>)
ThrowStatement(Box<ThrowStatement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for SwitchRuleChildren<'tree>
impl<'tree> Clone for SwitchRuleChildren<'tree>
Source§fn clone(&self) -> SwitchRuleChildren<'tree>
fn clone(&self) -> SwitchRuleChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for SwitchRuleChildren<'tree>
impl<'tree> Debug for SwitchRuleChildren<'tree>
Source§impl<'tree> FromNode<'tree> for SwitchRuleChildren<'tree>
impl<'tree> FromNode<'tree> for SwitchRuleChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SwitchRuleChildren<'tree>
impl<'tree> RefUnwindSafe for SwitchRuleChildren<'tree>
impl<'tree> Send for SwitchRuleChildren<'tree>
impl<'tree> Sync for SwitchRuleChildren<'tree>
impl<'tree> Unpin for SwitchRuleChildren<'tree>
impl<'tree> UnsafeUnpin for SwitchRuleChildren<'tree>
impl<'tree> UnwindSafe for SwitchRuleChildren<'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