Trait polars_utils::iter::IntoIteratorCopied

source ·
pub trait IntoIteratorCopied: IntoIterator {
    type OwnedItem;
    type IntoIterCopied: Iterator<Item = <Self as IntoIteratorCopied>::OwnedItem>;

    // Required method
    fn into_iter(self) -> <Self as IntoIteratorCopied>::IntoIterCopied;
}

Required Associated Types§

source

type OwnedItem

The type of the elements being iterated over.

source

type IntoIterCopied: Iterator<Item = <Self as IntoIteratorCopied>::OwnedItem>

Which kind of iterator are we turning this into?

Required Methods§

Implementations on Foreign Types§

source§

impl<'a, T: Copy> IntoIteratorCopied for &'a [T]

Implementors§