pub trait PrettyPrint {
// Required method
fn pretty_print(&self);
}Expand description
Like ToPretty but prints to the console instead.
Required Methods§
Sourcefn pretty_print(&self)
fn pretty_print(&self)
Like ToPretty::to_pretty but prints to the console instead.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".