pub struct Options {
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),
}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.
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