pub trait IntoOption: Sized { fn into_some(self) -> Option<Self>; }
Provides into_some. Implemented for all Sized types.
into_some
Sized
Consumes self and returns it wrapped in Some.
self
Some