Trait tectonic::docmodel::DocumentExt [−][src]
pub trait DocumentExt { fn bundle(
&self,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<Box<dyn Bundle>>; fn setup_session(
&self,
output_profile: &str,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<ProcessingSessionBuilder>; }
Required methods
fn bundle(
&self,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<Box<dyn Bundle>>
[src]
fn bundle(
&self,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<Box<dyn Bundle>>
[src]Get the bundle used by this document.
This parses Document::bundle_loc
and turns it into the appropriate
bundle backend.
fn setup_session(
&self,
output_profile: &str,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<ProcessingSessionBuilder>
[src]
fn setup_session(
&self,
output_profile: &str,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<ProcessingSessionBuilder>
[src]Set up a ProcessingSessionBuilder
for one of the outputs.
The output_profile argument gives the name of the document’s output profile to use.
Implementations on Foreign Types
fn bundle(
&self,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<Box<dyn Bundle>>
[src]fn setup_session(
&self,
output_profile: &str,
setup_options: &DocumentSetupOptions,
status: &mut dyn StatusBackend
) -> Result<ProcessingSessionBuilder>
[src]