pub enum ObjectItem<A: IVm> {
Property(String<A>, Any<A>),
Spread(Any<A>),
}Expand description
One entry of an object literal, as spread_object reads it: a
property, a key and its value, or a spread whose entries the value
gives (Any::object_spread).
Variants§
Auto Trait Implementations§
impl<A> Freeze for ObjectItem<A>
impl<A> RefUnwindSafe for ObjectItem<A>
impl<A> Send for ObjectItem<A>
impl<A> Sync for ObjectItem<A>
impl<A> Unpin for ObjectItem<A>
impl<A> UnsafeUnpin for ObjectItem<A>
impl<A> UnwindSafe for ObjectItem<A>
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