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