Struct Iter
1.6.0 · Source pub struct Iter<'a, A: 'a> { }
Expand description
An iterator over a reference to 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 Option::iter
function.
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.