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