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