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