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