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