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