pub struct ConstructorDeclaration<'tree> {
pub span: Span,
pub body: ConstructorBody<'tree>,
pub name: Identifier<'tree>,
pub parameters: FormalParameters<'tree>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Vec<ConstructorDeclarationChildren<'tree>>,
}Fields§
§span: Span§body: ConstructorBody<'tree>§name: Identifier<'tree>§parameters: FormalParameters<'tree>§type_parameters: Option<TypeParameters<'tree>>§children: Vec<ConstructorDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ConstructorDeclaration<'tree>
impl<'tree> Clone for ConstructorDeclaration<'tree>
Source§fn clone(&self) -> ConstructorDeclaration<'tree>
fn clone(&self) -> ConstructorDeclaration<'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 ConstructorDeclaration<'tree>
impl<'tree> Debug for ConstructorDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for ConstructorDeclaration<'tree>
impl<'tree> FromNode<'tree> for ConstructorDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstructorDeclaration<'tree>
impl<'tree> RefUnwindSafe for ConstructorDeclaration<'tree>
impl<'tree> Send for ConstructorDeclaration<'tree>
impl<'tree> Sync for ConstructorDeclaration<'tree>
impl<'tree> Unpin for ConstructorDeclaration<'tree>
impl<'tree> UnsafeUnpin for ConstructorDeclaration<'tree>
impl<'tree> UnwindSafe for ConstructorDeclaration<'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