#[repr(C)]pub struct DeclareTypeAlias<'gc> {
pub metadata: NodeMetadata<'gc>,
pub id: &'gc Node<'gc>,
pub type_parameters: Option<&'gc Node<'gc>>,
pub right: &'gc Node<'gc>,
}Expand description
The DeclareTypeAlias 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.
right: &'gc Node<'gc>ESTree right property.
Implementations§
Source§impl<'gc> DeclareTypeAlias<'gc>
impl<'gc> DeclareTypeAlias<'gc>
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for DeclareTypeAlias<'gc>
impl<'gc> !RefUnwindSafe for DeclareTypeAlias<'gc>
impl<'gc> !Send for DeclareTypeAlias<'gc>
impl<'gc> !Sync for DeclareTypeAlias<'gc>
impl<'gc> !UnwindSafe for DeclareTypeAlias<'gc>
impl<'gc> Unpin for DeclareTypeAlias<'gc>
impl<'gc> UnsafeUnpin for DeclareTypeAlias<'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