pub struct Options {Show 13 fields
pub ini: bool,
pub interaction: Interaction,
pub job_name: Option<String>,
pub output_dir: Option<PathBuf>,
pub first_line: String,
pub file_line_error: bool,
pub epoch: Option<i64>,
pub utc: bool,
pub shell_escape: u8,
pub line_lengths: (usize, usize, usize),
pub halt_on_error: bool,
pub output_comment: Option<String>,
pub int_params: Vec<(u32, i32)>,
}Expand description
Options for a run.
Fields§
§ini: boolIniTeX mode.
interaction: InteractionInitial interaction mode.
job_name: Option<String>-jobname.
output_dir: Option<PathBuf>-output-directory.
first_line: StringThe first line: the remaining command-line arguments joined.
file_line_error: bool-file-line-error.
epoch: Option<i64>Seconds since the epoch for \time, \day, … (from
SOURCE_DATE_EPOCH or the clock).
utc: bool-utc: use UTC instead of local time for the job’s date.
shell_escape: u8Shell escape: 0 disabled, 1 enabled, 2 restricted to the commands
in shell_escape_commands (LuaTeX’s status.shell_escape).
line_lengths: (usize, usize, usize)max_print_line, error_line, half_error_line.
halt_on_error: bool-halt-on-error.
output_comment: Option<String>-output-comment: the DVI preamble comment (else LuaTeX’s dated
one).
int_params: Vec<(u32, i32)>Initial values of integer parameters, set after the format is
loaded (-output-format sets \outputmode, -draftmode
\draftmode, -synctex \synctex).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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