Skip to main content

Rendering

Trait Rendering 

Source
pub trait Rendering {
    // Required method
    fn render(&self, opts: &SummaryOptions) -> String;

    // Provided method
    fn render_with_suffix(&self, suffix: &str, opts: &SummaryOptions) -> String { ... }
}

Required Methods§

Source

fn render(&self, opts: &SummaryOptions) -> String

Provided Methods§

Source

fn render_with_suffix(&self, suffix: &str, opts: &SummaryOptions) -> String

Implementations on Foreign Types§

Source§

impl Rendering for Ipv4Addr

Source§

impl Rendering for Ipv6Addr

Implementors§