pub struct ClassDeclaration<'tree> {
pub span: Span,
pub body: ClassBody<'tree>,
pub interfaces: Option<SuperInterfaces<'tree>>,
pub name: Identifier<'tree>,
pub permits: Option<Permits<'tree>>,
pub superclass: Option<Superclass<'tree>>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Option<Modifiers<'tree>>,
}Fields§
§span: Span§body: ClassBody<'tree>§interfaces: Option<SuperInterfaces<'tree>>§name: Identifier<'tree>§permits: Option<Permits<'tree>>§superclass: Option<Superclass<'tree>>§type_parameters: Option<TypeParameters<'tree>>§children: Option<Modifiers<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ClassDeclaration<'tree>
impl<'tree> Clone for ClassDeclaration<'tree>
Source§fn clone(&self) -> ClassDeclaration<'tree>
fn clone(&self) -> ClassDeclaration<'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 ClassDeclaration<'tree>
impl<'tree> Debug for ClassDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for ClassDeclaration<'tree>
impl<'tree> FromNode<'tree> for ClassDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ClassDeclaration<'tree>
impl<'tree> RefUnwindSafe for ClassDeclaration<'tree>
impl<'tree> Send for ClassDeclaration<'tree>
impl<'tree> Sync for ClassDeclaration<'tree>
impl<'tree> Unpin for ClassDeclaration<'tree>
impl<'tree> UnsafeUnpin for ClassDeclaration<'tree>
impl<'tree> UnwindSafe for ClassDeclaration<'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