Skip to main content

IntoOption

Trait IntoOption 

Source
pub trait IntoOption<T> {
    // Required method
    fn into_option(self) -> Option<T>;
}

Required Methods§

Source

fn into_option(self) -> Option<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§