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