Struct tectonic_engine_spx2html::Spx2HtmlEngine
source · [−]pub struct Spx2HtmlEngine {}
Expand description
An engine that converts SPX to HTML.
Implementations
sourceimpl Spx2HtmlEngine
impl Spx2HtmlEngine
sourcepub fn process_to_filesystem(
&mut self,
hooks: &mut dyn DriverHooks,
status: &mut dyn StatusBackend,
spx: &str,
out_base: &Path
) -> Result<()>
pub fn process_to_filesystem(
&mut self,
hooks: &mut dyn DriverHooks,
status: &mut dyn StatusBackend,
spx: &str,
out_base: &Path
) -> Result<()>
Process SPX into HTML.
Because this driver will, in the generic case, produce a tree of HTML
output files that are not going to be used as a basis for any subsequent
engine stages, it outputs directly to disk (via out_base
) rather than
using the I/O layer. I don’t like hardcoding use of the filesystem, but
I don’t want to build up some extra abstraction layer right now.
Trait Implementations
sourceimpl Default for Spx2HtmlEngine
impl Default for Spx2HtmlEngine
sourcefn default() -> Spx2HtmlEngine
fn default() -> Spx2HtmlEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for Spx2HtmlEngine
impl Send for Spx2HtmlEngine
impl Sync for Spx2HtmlEngine
impl Unpin for Spx2HtmlEngine
impl UnwindSafe for Spx2HtmlEngine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more