#[repr(C)]pub struct JSXClosingElement<'gc> {
pub metadata: NodeMetadata<'gc>,
pub name: &'gc Node<'gc>,
}Expand description
The JSXClosingElement AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
name: &'gc Node<'gc>ESTree name property.
Implementations§
Source§impl<'gc> JSXClosingElement<'gc>
impl<'gc> JSXClosingElement<'gc>
Sourcepub fn new(metadata: NodeMetadata<'gc>, name: &'gc Node<'gc>) -> Self
pub fn new(metadata: NodeMetadata<'gc>, name: &'gc Node<'gc>) -> Self
Build JSXClosingElement from its metadata and ESTree.def fields.
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for JSXClosingElement<'gc>
impl<'gc> !RefUnwindSafe for JSXClosingElement<'gc>
impl<'gc> !Send for JSXClosingElement<'gc>
impl<'gc> !Sync for JSXClosingElement<'gc>
impl<'gc> !UnwindSafe for JSXClosingElement<'gc>
impl<'gc> Unpin for JSXClosingElement<'gc>
impl<'gc> UnsafeUnpin for JSXClosingElement<'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