Class Subspace :: sus :: iter :: Once

template <class ItemT>
class Once final
{ ... };

An Iterator that walks over at most a single Item.

Methods

auto exact_size_hint() const -> sus::usize
auto next() -> Option<sus::iter::Once::Item>
auto next_back() -> Option<sus::iter::Once::Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

auto trusted_len() const -> sus::iter::__private::TrustedLenMarker