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