swc_ecma_utils::parallel

Trait IntoItems

source
pub trait IntoItems: Sealed {
    type Elem;
    type Items: Items<Elem = Self::Elem>;

    // Required method
    fn into_items(self) -> Self::Items;
}

Required Associated Types§

source

type Elem

source

type Items: Items<Elem = Self::Elem>

Required Methods§

source

fn into_items(self) -> Self::Items

Implementations on Foreign Types§

source§

impl<'a, T> IntoItems for &'a mut Vec<T>
where T: Send + Sync,

source§

type Elem = &'a mut T

source§

type Items = &'a mut [T]

source§

fn into_items(self) -> Self::Items

Implementors§

source§

impl<T, I> IntoItems for I
where I: Items<Elem = T>,

source§

type Elem = T

source§

type Items = I