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