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