Skip to main content

RenderBackend

Trait RenderBackend 

Source
pub trait RenderBackend {
    type Output;

    // Required method
    fn render_document(
        &mut self,
        document: &RenderDocument,
    ) -> Result<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn render_document(&mut self, document: &RenderDocument) -> Result<Self::Output>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§