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