pub trait OptionPossiblyBoundsChecked<N>: Sealed {
// Required method
fn to_option_unchecked(self) -> Option<N>;
}Expand description
A trait implemented by N, NonZero<N>, Option<N>, and Option<NonZero<N>>, where N is an
integer type.
Required Methods§
Sourcefn to_option_unchecked(self) -> Option<N>
fn to_option_unchecked(self) -> Option<N>
Convert this object to an instance of Option<N>.