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