Skip to main content

RenderManifest

Struct RenderManifest 

Source
pub struct RenderManifest {
Show 30 fields pub dbfile: PathBuf, pub navigation_toc: Option<String>, pub url_style: String, pub out_extension: String, pub graphicimages: bool, pub graphics_svg_threshold_kb: u32, pub pmml: bool, pub cmml: bool, pub keep_xmath: bool, pub invisible_times: bool, pub plane1: bool, pub hackplane1: bool, pub mathtex: bool, pub unicodemath: bool, pub intent_literal: bool, pub stylesheet: Option<String>, pub xslt_params: Vec<(String, String)>, pub default_resources: bool, pub searchpaths: Vec<String>, pub svg: bool, pub is_html_out: bool, pub schemadocs: bool, pub whatsout: String, pub page_opts: PageOpts, pub pages: Vec<PageJob>, pub max_rss_kb: u64, pub post_values: PostStateValues, pub resource_names: Vec<(String, String, String, Option<String>)>, pub log_level: String, pub confinement: Option<ConfinementSnapshot>,
}
Expand description

Everything a page-render worker needs to rebuild the pass-B processor set exactly as the parent would have, plus its page range. Written as render-manifest-{i}.json beside the saved LaTeXML-render.db.

Fields§

§dbfile: PathBuf

The saved ObjectDB (SQLite, attached readonly by each worker).

§navigation_toc: Option<String>§url_style: String

Cross-reference URL style as its canonical CLI tag (UrlStyle::as_cli / from_cli round-trip), serialized across the worker manifest.

§out_extension: String

Output file extension CrossRef strips for --urlstyle (Perl extension).

§graphicimages: bool§graphics_svg_threshold_kb: u32§pmml: bool§cmml: bool§keep_xmath: bool§invisible_times: bool

Already-inverted from the CLI’s noinvisibletimes.

§plane1: bool§hackplane1: bool§mathtex: bool§unicodemath: bool§intent_literal: bool§stylesheet: Option<String>§xslt_params: Vec<(String, String)>

The fully-resolved XSLT parameter map (CSS/JS/LATEXML_VERSION/user overrides), captured after the parent computed it.

§default_resources: bool§searchpaths: Vec<String>

The resolved stylesheet/resource search paths the parent’s XSLT::new received.

§svg: bool

Run the SVG processor before MathML (the parent’s svg).

§is_html_out: bool

Serialize the pages as HTML (Perl is_html).

§schemadocs: bool§whatsout: String

latexml_post::extract::Whatsout as its canonical CLI tag (as_cli/from_cli round-trip).

§page_opts: PageOpts§pages: Vec<PageJob>§max_rss_kb: u64

This worker’s share of the run’s memory budget, in KiB (0 = none): its watchdog’s ceiling, so the fleet stays within --max-memory.

§post_values: PostStateValues

The parent’s STATE values the render reads: a worker is a fresh process, whose STATE holds none (MathML’s <mpadded> widths read NOMINAL_FONT_SIZE).

§resource_names: Vec<(String, String, String, Option<String>)>

The names the parent gave every page’s images before the render (Graphics::plan_names): (destination directory, key, destination, vector render). A worker looks them up, so a page’s names never depend on which worker renders it (issue 995).

§log_level: String

The parent’s stderr verbosity (LevelFilter name: ERROR under --quiet, DEBUG under --verbose). The worker logs at it, never below Info, so its folded log is the serial render’s.

§confinement: Option<ConfinementSnapshot>

The parent’s read confinement (OXIDIZED_DESIGN_DIVERGENCES #1183): a worker is a fresh process, confined to the same roots before it reads anything, so a parallel render refuses what the serial one does.

Trait Implementations§

Source§

impl Clone for RenderManifest

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for RenderManifest

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for RenderManifest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RenderManifest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.