Enum esr::ast::expression::PropertyKey
source · pub enum PropertyKey<'ast> {
Computed(ExpressionNode<'ast>),
Literal(&'ast str),
Binary(&'ast str),
}
Variants
Computed(ExpressionNode<'ast>)
Literal(&'ast str)
Binary(&'ast str)
Trait Implementations
sourceimpl<'ast> Clone for PropertyKey<'ast>
impl<'ast> Clone for PropertyKey<'ast>
sourcefn clone(&self) -> PropertyKey<'ast>
fn clone(&self) -> PropertyKey<'ast>
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<'ast> Debug for PropertyKey<'ast>
impl<'ast> Debug for PropertyKey<'ast>
sourceimpl<'ast> PartialEq<PropertyKey<'ast>> for PropertyKey<'ast>
impl<'ast> PartialEq<PropertyKey<'ast>> for PropertyKey<'ast>
sourcefn eq(&self, other: &PropertyKey<'ast>) -> bool
fn eq(&self, other: &PropertyKey<'ast>) -> bool
impl<'ast> Copy for PropertyKey<'ast>
impl<'ast> StructuralPartialEq for PropertyKey<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for PropertyKey<'ast>
impl<'ast> Send for PropertyKey<'ast>
impl<'ast> !Sync for PropertyKey<'ast>
impl<'ast> Unpin for PropertyKey<'ast>
impl<'ast> UnwindSafe for PropertyKey<'ast>
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