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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Rendering for Ipv4Addr

Source§

impl Rendering for Ipv6Addr

Implementors§