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