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