Class Subspace :: sus :: option :: OptionIter

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

An iterator over the element from an Option.

This type is returned from Option::iter, Option::iter_mut and Option::into_iter, as well as Result::iter, Result::iter_mut and Result::into_iter.

Methods

auto clone() const -> OptionIter<Item>
requires
sus::mem::Clone<Option<Item>>
auto exact_size_hint() const -> sus::usize
auto next() -> Option<sus::option::OptionIter::Item>
auto next_back() -> Option<sus::option::OptionIter::Item>
auto size_hint() const -> SizeHint

Iterator trait.