pub trait Printable {
// Required method
fn print(&self);
}Expand description
Trait for things which can be printed from the runtime.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".