#[repr(C)]pub struct ObjectTypeAnnotation<'gc> {
pub metadata: NodeMetadata<'gc>,
pub properties: NodeList<'gc>,
pub indexers: NodeList<'gc>,
pub call_properties: NodeList<'gc>,
pub internal_slots: NodeList<'gc>,
pub inexact: Cell<bool>,
pub exact: Cell<bool>,
}Expand description
The ObjectTypeAnnotation AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
properties: NodeList<'gc>ESTree properties property.
indexers: NodeList<'gc>ESTree indexers property.
call_properties: NodeList<'gc>ESTree callProperties property.
internal_slots: NodeList<'gc>ESTree internalSlots property.
inexact: Cell<bool>ESTree inexact property.
exact: Cell<bool>ESTree exact property.
Implementations§
Source§impl<'gc> ObjectTypeAnnotation<'gc>
impl<'gc> ObjectTypeAnnotation<'gc>
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ObjectTypeAnnotation<'gc>
impl<'gc> !RefUnwindSafe for ObjectTypeAnnotation<'gc>
impl<'gc> !Send for ObjectTypeAnnotation<'gc>
impl<'gc> !Sync for ObjectTypeAnnotation<'gc>
impl<'gc> !UnwindSafe for ObjectTypeAnnotation<'gc>
impl<'gc> Unpin for ObjectTypeAnnotation<'gc>
impl<'gc> UnsafeUnpin for ObjectTypeAnnotation<'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