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