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