pub struct Post {
pub status: PostStatus,
}Expand description
The post-processing pipeline driver.
Port of LaTeXML::Post.
Manages a chain of processors and orchestrates their execution.
Fields§
§status: PostStatusStatus tracking.
Implementations§
Source§impl Post
impl Post
Sourcepub fn process_chain(
&mut self,
docs: Vec<PostDocument>,
processors: &mut [Box<dyn Processor>],
) -> Result<Vec<PostDocument>, PostError>
pub fn process_chain( &mut self, docs: Vec<PostDocument>, processors: &mut [Box<dyn Processor>], ) -> Result<Vec<PostDocument>, PostError>
Run the processing chain on a document.
Each processor in order gets the current document(s),
finds nodes to process via to_process(), and transforms them
via process(). Documents may be split (producing multiple outputs).
Port of Post::ProcessChain + ProcessChain_internal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Post
impl RefUnwindSafe for Post
impl Send for Post
impl Sync for Post
impl Unpin for Post
impl UnsafeUnpin for Post
impl UnwindSafe for Post
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