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