Trait RustPretty

Source
pub trait RustPretty {
    // Required method
    fn pretty(&mut self) -> Result<()>;
}
Expand description

The trait to support Rust language formatting

Required Methods§

Source

fn pretty(&mut self) -> Result<()>

Invoke this fn to perform the formatting codes action

Implementations on Foreign Types§

Source§

impl RustPretty for Vec<Contract>

Source§

fn pretty(&mut self) -> Result<()>

Implementors§