logo

Type Definition rkyv::niche::option_box::Iter

source · []
pub type Iter<'a, T> = Iter<'a, T>;
Expand description

An iterator over a reference to the Some variant of an ArchivedOptionBox.

This iterator yields one value if the ArchivedOptionBox is a Some, otherwise none.

This struct is created by the ArchivedOptionBox::iter function.