#[repr(C)]pub struct ClassBody<'gc> {
pub metadata: NodeMetadata<'gc>,
pub body: NodeList<'gc>,
}Expand description
The ClassBody AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
body: NodeList<'gc>ESTree body property.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ClassBody<'gc>
impl<'gc> !RefUnwindSafe for ClassBody<'gc>
impl<'gc> !Send for ClassBody<'gc>
impl<'gc> !Sync for ClassBody<'gc>
impl<'gc> !UnwindSafe for ClassBody<'gc>
impl<'gc> Unpin for ClassBody<'gc>
impl<'gc> UnsafeUnpin for ClassBody<'gc>
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