Trait Render

Source
pub trait Render {
    // Required method
    fn render<W: Write>(&self, writer: &mut W) -> Result;
}
Expand description

Optimized render function trait.

Required Methods§

Source

fn render<W: Write>(&self, writer: &mut W) -> Result

Optimized render function.

§Errors

If strings cannot be written to the formatter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§