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