pub trait CheckedInto<T> {
    fn checked_into(self) -> Option<T>;
}
Expand description

Converts a value from one type to another. If the conversion fails, None is returned.

It is recommended that this trait is not implemented directly; it is automatically implemented when CheckedFrom is implemented.

Required Methods

Implementors