pub enum ArrayItem<A: IVm> {
Value(Any<A>),
Spread(IteratorRecord<A>),
}Expand description
One item of an array literal or a call’s argument list, as
spread_array and spread_call read it: a value, or an established
spread iterator (Any::get_iterator).
Variants§
Value(Any<A>)
Spread(IteratorRecord<A>)
Auto Trait Implementations§
impl<A> Freeze for ArrayItem<A>
impl<A> RefUnwindSafe for ArrayItem<A>where
A: RefUnwindSafe,
<A as IVm>::InternalString: RefUnwindSafe,
<A as IVm>::InternalArray: RefUnwindSafe,
impl<A> Send for ArrayItem<A>
impl<A> Sync for ArrayItem<A>
impl<A> Unpin for ArrayItem<A>
impl<A> UnsafeUnpin for ArrayItem<A>where
A: UnsafeUnpin,
<A as IVm>::InternalString: UnsafeUnpin,
<A as IVm>::InternalArray: UnsafeUnpin,
impl<A> UnwindSafe for ArrayItem<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