Trait finchers_core::IsOption
[−]
[src]
pub trait IsOption: Sealed { type Item; fn into_option(self) -> Option<Self::Item>; }
A helper trait enforcing that the type is Option
.
Associated Types
type Item
The type of inner value.
Required Methods
fn into_option(self) -> Option<Self::Item>
Consume itself and get the value of Option
.