pub trait Renderer: Send + Sync {
type Opts: Send + Sync;
// Required method
async fn render(
&self,
manual: &ReferenceManual,
opts: &Self::Opts,
) -> Result<Vec<OutputFile>>;
}Expand description
Required Associated Types§
Required Methods§
Sourceasync fn render(
&self,
manual: &ReferenceManual,
opts: &Self::Opts,
) -> Result<Vec<OutputFile>>
async fn render( &self, manual: &ReferenceManual, opts: &Self::Opts, ) -> Result<Vec<OutputFile>>
Renders a ReferenceManual into one or more output files.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".