pub trait Nullable:
Default
+ Into<Option<Self::Wrapped>>
+ Sealed { }
Expand description
Wrapper trait for an Option
, allowing user-defined structs to be input as containers when
defining a null element.
Note: this trait is currently sealed and cannot be implemented for types outside this crate.
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.