pub enum PropertyName {
Identifier(IdentifierNode),
Private(PrivateIdentifierNode),
String(StringLiteralNode),
Number(NumericLiteralNode),
Computed(Box<Expr>),
Missing(MissingNode),
}Variants§
Identifier(IdentifierNode)
Private(PrivateIdentifierNode)
String(StringLiteralNode)
Number(NumericLiteralNode)
Computed(Box<Expr>)
Missing(MissingNode)
Trait Implementations§
Source§impl Clone for PropertyName
impl Clone for PropertyName
Source§fn clone(&self) -> PropertyName
fn clone(&self) -> PropertyName
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 PropertyName
impl Debug for PropertyName
impl Eq for PropertyName
Source§impl PartialEq for PropertyName
impl PartialEq for PropertyName
impl StructuralPartialEq for PropertyName
Auto Trait Implementations§
impl Freeze for PropertyName
impl RefUnwindSafe for PropertyName
impl Send for PropertyName
impl Sync for PropertyName
impl Unpin for PropertyName
impl UnsafeUnpin for PropertyName
impl UnwindSafe for PropertyName
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