pub enum BlockChildren<'tree> {
DeclarationStatement(Box<DeclarationStatement<'tree>>),
Expression(Box<Expression<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
Label(Box<Label<'tree>>),
}Variants§
DeclarationStatement(Box<DeclarationStatement<'tree>>)
Expression(Box<Expression<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
Label(Box<Label<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for BlockChildren<'tree>
impl<'tree> Clone for BlockChildren<'tree>
Source§fn clone(&self) -> BlockChildren<'tree>
fn clone(&self) -> BlockChildren<'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 BlockChildren<'tree>
impl<'tree> Debug for BlockChildren<'tree>
Source§impl<'tree> FromNode<'tree> for BlockChildren<'tree>
impl<'tree> FromNode<'tree> for BlockChildren<'tree>
Source§impl<'tree> PartialEq for BlockChildren<'tree>
impl<'tree> PartialEq for BlockChildren<'tree>
Source§impl Spanned for BlockChildren<'_>
impl Spanned for BlockChildren<'_>
impl<'tree> Eq for BlockChildren<'tree>
impl<'tree> StructuralPartialEq for BlockChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for BlockChildren<'tree>
impl<'tree> RefUnwindSafe for BlockChildren<'tree>
impl<'tree> Send for BlockChildren<'tree>
impl<'tree> Sync for BlockChildren<'tree>
impl<'tree> Unpin for BlockChildren<'tree>
impl<'tree> UnsafeUnpin for BlockChildren<'tree>
impl<'tree> UnwindSafe for BlockChildren<'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