☰
Once
class
Once
Methods
exact_size_hint
next
next_back
size_hint
trusted_len
Class
Subspace
::
sus
::
iter
::
Once
source
template <class ItemT>
class
Once
final
{ ... };
An Iterator that walks over at most a single Item.
Methods
source
auto
exact_size_hint
() const -> sus::usize
source
auto
next
() ->
Option
<sus::iter::Once::Item>
source
auto
next_back
() ->
Option
<sus::iter::Once::Item>
source
auto
size_hint
() const ->
SizeHint
sus::iter::Iterator trait.
source
auto
trusted_len
() const -> sus::iter::__private::TrustedLenMarker