flux_middle::pretty

Trait PrettyNested

Source
pub trait PrettyNested {
    // Required method
    fn fmt_nested(&self, cx: &PrettyCx<'_, '_>) -> Result<NestedString, Error>;

    // Provided method
    fn nested_string(&self, cx: &PrettyCx<'_, '_>) -> String { ... }
}

Required Methods§

Source

fn fmt_nested(&self, cx: &PrettyCx<'_, '_>) -> Result<NestedString, Error>

Provided Methods§

Source

fn nested_string(&self, cx: &PrettyCx<'_, '_>) -> String

Implementors§