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