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