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