pub struct OptionalParameterDeclaration<'tree> {
pub span: Span,
pub declarator: Option<OptionalParameterDeclarationDeclarator<'tree>>,
pub default_value: Expression<'tree>,
pub type: TypeSpecifier<'tree>,
pub children: Vec<OptionalParameterDeclarationChildren<'tree>>,
}Fields§
§span: Span§declarator: Option<OptionalParameterDeclarationDeclarator<'tree>>§default_value: Expression<'tree>§type: TypeSpecifier<'tree>§children: Vec<OptionalParameterDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for OptionalParameterDeclaration<'tree>
impl<'tree> Clone for OptionalParameterDeclaration<'tree>
Source§fn clone(&self) -> OptionalParameterDeclaration<'tree>
fn clone(&self) -> OptionalParameterDeclaration<'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 OptionalParameterDeclaration<'tree>
impl<'tree> Debug for OptionalParameterDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for OptionalParameterDeclaration<'tree>
impl<'tree> FromNode<'tree> for OptionalParameterDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for OptionalParameterDeclaration<'tree>
impl<'tree> RefUnwindSafe for OptionalParameterDeclaration<'tree>
impl<'tree> Send for OptionalParameterDeclaration<'tree>
impl<'tree> Sync for OptionalParameterDeclaration<'tree>
impl<'tree> Unpin for OptionalParameterDeclaration<'tree>
impl<'tree> UnsafeUnpin for OptionalParameterDeclaration<'tree>
impl<'tree> UnwindSafe for OptionalParameterDeclaration<'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