pub enum ConstructorBodyChildren<'tree> {
ExplicitConstructorInvocation(Box<ExplicitConstructorInvocation<'tree>>),
Statement(Box<Statement<'tree>>),
}Variants§
ExplicitConstructorInvocation(Box<ExplicitConstructorInvocation<'tree>>)
Statement(Box<Statement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ConstructorBodyChildren<'tree>
impl<'tree> Clone for ConstructorBodyChildren<'tree>
Source§fn clone(&self) -> ConstructorBodyChildren<'tree>
fn clone(&self) -> ConstructorBodyChildren<'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 ConstructorBodyChildren<'tree>
impl<'tree> Debug for ConstructorBodyChildren<'tree>
Source§impl<'tree> FromNode<'tree> for ConstructorBodyChildren<'tree>
impl<'tree> FromNode<'tree> for ConstructorBodyChildren<'tree>
Source§impl<'tree> PartialEq for ConstructorBodyChildren<'tree>
impl<'tree> PartialEq for ConstructorBodyChildren<'tree>
Source§fn eq(&self, other: &ConstructorBodyChildren<'tree>) -> bool
fn eq(&self, other: &ConstructorBodyChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for ConstructorBodyChildren<'_>
impl Spanned for ConstructorBodyChildren<'_>
impl<'tree> Eq for ConstructorBodyChildren<'tree>
impl<'tree> StructuralPartialEq for ConstructorBodyChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstructorBodyChildren<'tree>
impl<'tree> RefUnwindSafe for ConstructorBodyChildren<'tree>
impl<'tree> Send for ConstructorBodyChildren<'tree>
impl<'tree> Sync for ConstructorBodyChildren<'tree>
impl<'tree> Unpin for ConstructorBodyChildren<'tree>
impl<'tree> UnsafeUnpin for ConstructorBodyChildren<'tree>
impl<'tree> UnwindSafe for ConstructorBodyChildren<'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