pub trait New {
// Required method
fn new() -> Self;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait New {
// Required method
fn new() -> Self;
}This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".