pub enum ObjectKey {
Computed(Expression),
Identifier(JSString),
}
Expand description
Describes an ObjectExpression
key: ObjectKey::Computed
or ObjectKey::Identifier
Variants
Computed(Expression)
Identifier(JSString)
Trait Implementations
sourceimpl<E> From<E> for ObjectKey where
Expression: From<E>,
impl<E> From<E> for ObjectKey where
Expression: From<E>,
impl Eq for ObjectKey
impl StructuralEq for ObjectKey
impl StructuralPartialEq for ObjectKey
Auto Trait Implementations
impl RefUnwindSafe for ObjectKey
impl !Send for ObjectKey
impl !Sync for ObjectKey
impl Unpin for ObjectKey
impl UnwindSafe for ObjectKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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