pub enum ObjectChildren<'tree> {
MethodDefinition(Box<MethodDefinition<'tree>>),
Pair(Box<Pair<'tree>>),
ShorthandPropertyIdentifier(Box<ShorthandPropertyIdentifier<'tree>>),
SpreadElement(Box<SpreadElement<'tree>>),
}Variants§
MethodDefinition(Box<MethodDefinition<'tree>>)
Pair(Box<Pair<'tree>>)
ShorthandPropertyIdentifier(Box<ShorthandPropertyIdentifier<'tree>>)
SpreadElement(Box<SpreadElement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ObjectChildren<'tree>
impl<'tree> Clone for ObjectChildren<'tree>
Source§fn clone(&self) -> ObjectChildren<'tree>
fn clone(&self) -> ObjectChildren<'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 ObjectChildren<'tree>
impl<'tree> Debug for ObjectChildren<'tree>
Source§impl<'tree> FromNode<'tree> for ObjectChildren<'tree>
impl<'tree> FromNode<'tree> for ObjectChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ObjectChildren<'tree>
impl<'tree> RefUnwindSafe for ObjectChildren<'tree>
impl<'tree> Send for ObjectChildren<'tree>
impl<'tree> Sync for ObjectChildren<'tree>
impl<'tree> Unpin for ObjectChildren<'tree>
impl<'tree> UnsafeUnpin for ObjectChildren<'tree>
impl<'tree> UnwindSafe for ObjectChildren<'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