[−][src]Trait tectonic_xdv::XdvEvents
Types implementing this trait accept events from the XDV parser.
Associated Types
type Error: Debug + From<XdvError>
[src]
An error type returned by the handler functions defined in this trait. It
must implement From<XdvError>
.
Provided methods
pub fn handle_header(
&mut self,
filetype: FileType,
comment: &[u8]
) -> Result<(), Self::Error>
[src]
&mut self,
filetype: FileType,
comment: &[u8]
) -> Result<(), Self::Error>
Handle the XDV header
pub fn handle_begin_page(
&mut self,
counters: &[i32],
previous_bop: i32
) -> Result<(), Self::Error>
[src]
&mut self,
counters: &[i32],
previous_bop: i32
) -> Result<(), Self::Error>
Begin a new page.
pub fn handle_special(&mut self, contents: &[u8]) -> Result<(), Self::Error>
[src]
Handle a \special
.
pub fn handle_char_run(&mut self, chars: &[i32]) -> Result<(), Self::Error>
[src]
Handle a sequence of characters without intervening commands