Struct tectonic::driver::IoEvents [−][src]
pub struct IoEvents(pub HashMap<OsString, FileSummary>);
The IoEvents type implements the IoEventBackend. It is used to figure out when to rerun the TeX engine, to figure out which files should be written to disk, and to emit Makefile rules.
Trait Implementations
impl IoEventBackend for IoEvents
[src]
impl IoEventBackend for IoEvents
fn output_opened(&mut self, name: &OsStr)
[src]
fn output_opened(&mut self, name: &OsStr)
This function is called when a file is opened for output.
fn stdout_opened(&mut self)
[src]
fn stdout_opened(&mut self)
This function is called when the wrapped "standard output" ("console", "terminal") stream is opened. Read more
fn output_closed(&mut self, name: OsString, digest: DigestData)
[src]
fn output_closed(&mut self, name: OsString, digest: DigestData)
This function is called when an output file is closed. The "digest" argument specifies the cryptographic digest of the data that were written. Note that this function takes ownership of the name and digest. Read more
fn input_not_available(&mut self, name: &OsStr)
[src]
fn input_not_available(&mut self, name: &OsStr)
This function is called when the engine attempted to open a file of the specified name but it was not available. Read more
fn input_opened(&mut self, name: &OsStr, origin: InputOrigin)
[src]
fn input_opened(&mut self, name: &OsStr, origin: InputOrigin)
This function is called when a file is opened for input.
fn input_closed(&mut self, name: OsString, digest: Option<DigestData>)
[src]
fn input_closed(&mut self, name: OsString, digest: Option<DigestData>)
This function is called when an input file is closed. The "digest" argument specifies the cryptographic digest of the data that were read, if available. This digest is not always available, if the engine used seeks while reading the file. Note that this function takes ownership of the name and digest. Read more
fn primary_input_opened(&mut self, _origin: InputOrigin)
[src]
fn primary_input_opened(&mut self, _origin: InputOrigin)
This function is called when the "primary input" stream is opened.