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