Module lending_iterator::lending_iterator::constructors
source · Expand description
Functions, extension traits and types allowing direct construction of
LendingIterator
s (no need for custom types or implementations!).
Structs
- The
impl LendingIterator
returned byfrom_fn()
. - Note: since this wrapper only exists to avoid coherence issues, it is guaranteed to be a
#[repr(transparent)]
wrapper around its innerI
. - FromStream
futures
Theimpl LendingIterator
returned byfrom_stream()
. - The
impl LendingIterator
returned byrepeat_mut()
. - The
impl LendingIterator
returned bywindows_mut()
.
Traits
Functions
- Main ad-hoc / closure-based constructor of
LendingIterator
s. - from_stream
futures
- Returns an infinite
impl LendingIterator
which lends&'next mut State
items. - Creates an
impl LendingIterator
over the sliding windows of a slice, with&mut
/ exclusive access over them (yields&mut [T]
slices).