Skip to main content

PrettyPrint

Trait PrettyPrint 

Source
pub trait PrettyPrint {
    // Required method
    fn pretty_print(&self);
}
Expand description

Like ToPretty but prints to the console instead.

Required Methods§

Source

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".

Implementors§