pub struct ClassDefinition<'tree> {
pub span: Span,
pub body: Block<'tree>,
pub name: Identifier<'tree>,
pub superclasses: Option<ArgumentList<'tree>>,
pub type_parameters: Option<TypeParameter<'tree>>,
}Fields§
§span: Span§body: Block<'tree>§name: Identifier<'tree>§superclasses: Option<ArgumentList<'tree>>§type_parameters: Option<TypeParameter<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ClassDefinition<'tree>
impl<'tree> Clone for ClassDefinition<'tree>
Source§fn clone(&self) -> ClassDefinition<'tree>
fn clone(&self) -> ClassDefinition<'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 ClassDefinition<'tree>
impl<'tree> Debug for ClassDefinition<'tree>
Source§impl<'tree> FromNode<'tree> for ClassDefinition<'tree>
impl<'tree> FromNode<'tree> for ClassDefinition<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ClassDefinition<'tree>
impl<'tree> RefUnwindSafe for ClassDefinition<'tree>
impl<'tree> Send for ClassDefinition<'tree>
impl<'tree> Sync for ClassDefinition<'tree>
impl<'tree> Unpin for ClassDefinition<'tree>
impl<'tree> UnsafeUnpin for ClassDefinition<'tree>
impl<'tree> UnwindSafe for ClassDefinition<'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