Struct Windows

pub struct Windows<'data, T> { /* private fields */ }

Parallel iterator over immutable overlapping windows of a slice

Trait Implementations

impl<'data, T: Debug> Debug for Windows<'data, T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'data, T: Sync> ParallelIterator for Windows<'data, T>

type Item = &'data [T];
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,
fn opt_len(&self) -> Option<usize>

impl<T> Clone for Windows<'_, T>

fn clone(&self) -> Self

impl<T: Sync> IndexedParallelIterator for Windows<'_, T>

fn drive<C>(self, consumer: C) -> C::Result
where
    C: Consumer<Self::Item>,
fn len(&self) -> usize
fn with_producer<CB>(self, callback: CB) -> CB::Output
where
    CB: ProducerCallback<Self::Item>,

Auto Trait Implementations

impl<'data, T> Freeze for Windows<'data, T> where &'data [T]: Freeze,

impl<'data, T> RefUnwindSafe for Windows<'data, T> where &'data [T]: RefUnwindSafe,

impl<'data, T> Send for Windows<'data, T> where &'data [T]: Send,

impl<'data, T> Sync for Windows<'data, T> where &'data [T]: Sync,

impl<'data, T> Unpin for Windows<'data, T> where &'data [T]: Unpin,

impl<'data, T> UnsafeUnpin for Windows<'data, T> where &'data [T]: UnsafeUnpin,

impl<'data, T> UnwindSafe for Windows<'data, T> where &'data [T]: UnwindSafe,

Blanket Implementations

impl<T> Any for Windows<'data, T> where T: 'static + ?Sized,

impl<T> Borrow<T> for Windows<'data, T> where T: ?Sized,

impl<T> BorrowMut<T> for Windows<'data, T> where T: ?Sized,

impl<T> CloneToUninit for Windows<'data, T> where T: Clone,

impl<T> From<T> for Windows<'data, T>

impl<T> IntoEither for Windows<'data, T>

impl<T> IntoParallelIterator for Windows<'data, T> where T: ParallelIterator,

impl<T> Pointable for Windows<'data, T>

impl<T> ToOwned for Windows<'data, T> where T: Clone,

impl<T, U> Into<U> for Windows<'data, T> where U: From<T>,

impl<T, U> TryFrom<U> for Windows<'data, T> where U: Into<T>,

impl<T, U> TryInto<U> for Windows<'data, T> where U: TryFrom<T>,