Struct tectonic_bridge_core::MinimalDriver
source · pub struct MinimalDriver<T: IoProvider>(/* private fields */);
Expand description
This type provides a minimal DriverHooks
implementation.
Implementations§
source§impl<T: IoProvider> MinimalDriver<T>
impl<T: IoProvider> MinimalDriver<T>
Trait Implementations§
source§impl<T: Clone + IoProvider> Clone for MinimalDriver<T>
impl<T: Clone + IoProvider> Clone for MinimalDriver<T>
source§fn clone(&self) -> MinimalDriver<T>
fn clone(&self) -> MinimalDriver<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug + IoProvider> Debug for MinimalDriver<T>
impl<T: Debug + IoProvider> Debug for MinimalDriver<T>
source§impl<T: Default + IoProvider> Default for MinimalDriver<T>
impl<T: Default + IoProvider> Default for MinimalDriver<T>
source§fn default() -> MinimalDriver<T>
fn default() -> MinimalDriver<T>
Returns the “default value” for a type. Read more
source§impl<T: IoProvider> DriverHooks for MinimalDriver<T>
impl<T: IoProvider> DriverHooks for MinimalDriver<T>
source§fn io(&mut self) -> &mut dyn IoProvider
fn io(&mut self) -> &mut dyn IoProvider
Get the main I/O implementations of this driver.
source§fn event_output_closed(
&mut self,
_name: String,
_digest: DigestData,
_status: &mut dyn StatusBackend
)
fn event_output_closed( &mut self, _name: String, _digest: DigestData, _status: &mut dyn StatusBackend )
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.
source§fn event_input_closed(
&mut self,
_name: String,
_digest: Option<DigestData>,
_status: &mut dyn StatusBackend
)
fn event_input_closed( &mut self, _name: String, _digest: Option<DigestData>, _status: &mut dyn StatusBackend )
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.
source§fn sysrq_shell_escape(
&mut self,
_command: &str,
_status: &mut dyn StatusBackend
) -> StdResult<(), SystemRequestError>
fn sysrq_shell_escape( &mut self, _command: &str, _status: &mut dyn StatusBackend ) -> StdResult<(), SystemRequestError>
The engine is requesting a “shell escape” evaluation. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for MinimalDriver<T>where
T: RefUnwindSafe,
impl<T> Send for MinimalDriver<T>where
T: Send,
impl<T> Sync for MinimalDriver<T>where
T: Sync,
impl<T> Unpin for MinimalDriver<T>where
T: Unpin,
impl<T> UnwindSafe for MinimalDriver<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more