pub trait WithVanilla {
// Required method
fn with_vanilla() -> Self;
}
Expand description
A trait to implement on registers or group of registers to provide a default constructor for vanilla contents.
Required Methods§
fn with_vanilla() -> Self
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.