Struct MapWindowsInner
pub(in ::iter::adapters::map_windows) struct MapWindowsInner<I: Iterator, const N: usize> { pub(in ::iter::adapters::map_windows) iter: I, pub(in ::iter::adapters::map_windows) buffer: Option<Buffer<I::Item, N>> }
Fields
iter: Ibuffer: Option<Buffer<I::Item, N>>
Implementations
impl<I: Iterator, const N: usize> MapWindowsInner<I, N>
const fn new(iter: I) -> Selffn next_window(&mut self) -> Option<&[I::Item; N]>fn size_hint(&self) -> (usize, Option<usize>)
Trait Implementations
impl<I, const N: usize> Clone for MapWindowsInner<I, N>
where
I: Iterator + Clone,
I::Item: Clone,
fn clone(&self) -> Self
Auto Trait Implementations
impl<I, const N: usize> Freeze for MapWindowsInner<I, N>
where
I: Freeze,
Option<Buffer<<I as Iterator>::Item, N>>: Freeze,
impl<I, const N: usize> RefUnwindSafe for MapWindowsInner<I, N>
where
I: RefUnwindSafe,
Option<Buffer<<I as Iterator>::Item, N>>: RefUnwindSafe,
impl<I, const N: usize> Send for MapWindowsInner<I, N>
where
I: Send,
Option<Buffer<<I as Iterator>::Item, N>>: Send,
impl<I, const N: usize> Sync for MapWindowsInner<I, N>
where
I: Sync,
Option<Buffer<<I as Iterator>::Item, N>>: Sync,
impl<I, const N: usize> Unpin for MapWindowsInner<I, N>
where
I: Unpin,
Option<Buffer<<I as Iterator>::Item, N>>: Unpin,
impl<I, const N: usize> UnsafeUnpin for MapWindowsInner<I, N>
where
I: UnsafeUnpin,
Option<Buffer<<I as Iterator>::Item, N>>: UnsafeUnpin,
impl<I, const N: usize> UnwindSafe for MapWindowsInner<I, N>
where
I: UnwindSafe,
Option<Buffer<<I as Iterator>::Item, N>>: UnwindSafe,
Blanket Implementations
impl<T> Any for MapWindowsInner<I, N>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for MapWindowsInner<I, N>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for MapWindowsInner<I, N>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for MapWindowsInner<I, N>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for MapWindowsInner<I, N>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for MapWindowsInner<I, N>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for MapWindowsInner<I, N>
impl<T, U> Into<U> for MapWindowsInner<I, N>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for MapWindowsInner<I, N>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for MapWindowsInner<I, N>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>