pub trait Nullable<T> {
// Required method
fn into_option(self) -> Option<T>;
}
Expand description
Abstracts over Option<T>
and Vec<T>
Required Methods§
Sourcefn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an Option
.