Expand description
Variants
Literal(Box<str>)
A Literal
property name can be either an identifier, a string or a numeric literal.
More information:
Computed(Node)
A Computed
property name is an expression that gets evaluated and converted into a property name.
More information:
Trait Implementations
sourceimpl Clone for PropertyName
impl Clone for PropertyName
sourcefn clone(&self) -> PropertyName
fn clone(&self) -> PropertyName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PropertyName
impl Debug for PropertyName
sourceimpl Display for PropertyName
impl Display for PropertyName
sourceimpl Finalize for PropertyName
impl Finalize for PropertyName
sourceimpl From<Node> for PropertyName
impl From<Node> for PropertyName
sourceimpl PartialEq<PropertyName> for PropertyName
impl PartialEq<PropertyName> for PropertyName
sourcefn eq(&self, other: &PropertyName) -> bool
fn eq(&self, other: &PropertyName) -> bool
sourceimpl Trace for PropertyName
impl Trace for PropertyName
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for PropertyName
Auto Trait Implementations
impl RefUnwindSafe for PropertyName
impl !Send for PropertyName
impl !Sync for PropertyName
impl Unpin for PropertyName
impl UnwindSafe for PropertyName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more