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 by from_fn()
.
Note: since this wrapper only exists to avoid coherence issues,
it is guaranteed to be a #[repr(transparent)]
wrapper around its
inner I
.
futures
The impl LendingIterator
returned by from_stream()
.
The impl LendingIterator
returned by repeat_mut()
.
The impl LendingIterator
returned by windows_mut()
.
Traits
Functions
Main ad-hoc / closure-based constructor of LendingIterator
s.
“Lifts” / converts an [Into
]Iterator
into an
impl LendingIterator
futures
“Lifts” and converts an Unpin
Stream
into an
impl LendingIterator
which lends futures (an S
,
say).
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).