Skip to main content

Pretty

Trait Pretty 

Source
pub trait Pretty {
    // Required method
    fn pretty(&self, formatter: &dyn Formatter<Self>) -> String;
}

Required Methods§

Source

fn pretty(&self, formatter: &dyn Formatter<Self>) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<I> Pretty for I