pub trait Null {
const NULL: Self;
// Required method
fn is_null(&self) -> bool;
}
Expand description
For more expressive code and for use with trait bounds.
Required Associated Constants§
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.