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