pub trait Dummy {
// Required methods
fn dummy() -> Self;
fn is_dummy(&self) -> bool;
}
Expand description
A helper trait with functions for dummy values that pretend to be valid.
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.