pub trait Noned {
// Required methods
fn is_none(&self) -> bool;
fn get_none() -> Self;
}Expand description
A trait whose implementation for any type T allows the use of
Optioned<T> where T is bound by both Sized and Copy.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.