pub trait Format {
// Required method
fn fmt(&self, buffer: &mut DocBuffer);
}Expand description
A value that knows how to render itself into a DocBuffer.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".