Skip to main content
An iterator over the value in the Some variant of an Option. The iterator yields one value if the Option is a Some, otherwise none. This struct is created by the into_iter method on Option (provided by the IntoIterator trait).

Signature


#[derive(Drop)]
pub struct OptionIter {
    inner: Option,
}
I