pub enum PropertyExpr {
Property {
computed: bool,
key: Expr,
shorthand: bool,
value: Option<Expr>,
},
Spread {
expr: Expr,
},
}Variants§
Trait Implementations§
Source§impl Clone for PropertyExpr
impl Clone for PropertyExpr
Source§fn clone(&self) -> PropertyExpr
fn clone(&self) -> PropertyExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertyExpr
impl Debug for PropertyExpr
Source§impl PartialEq for PropertyExpr
impl PartialEq for PropertyExpr
Source§fn eq(&self, other: &PropertyExpr) -> bool
fn eq(&self, other: &PropertyExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PropertyExpr
Auto Trait Implementations§
impl Freeze for PropertyExpr
impl RefUnwindSafe for PropertyExpr
impl Send for PropertyExpr
impl Sync for PropertyExpr
impl Unpin for PropertyExpr
impl UnsafeUnpin for PropertyExpr
impl UnwindSafe for PropertyExpr
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