pub trait Render<'a, T> {
type Error;
// Required methods
fn write_all(&mut self, s: &[T]) -> Result<(), Self::Error>;
fn fail_doc(&self) -> Self::Error;
}Expand description
Trait representing the operations necessary to render a document
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".