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