pub struct Options {Show 13 fields
pub cite: bool,
pub latex: bool,
pub no_follow: bool,
pub space: bool,
pub force_tex: bool,
pub word: bool,
pub src_loc: bool,
pub show_pictures: bool,
pub replace: bool,
pub env_ignore: Vec<String>,
pub include_list: Vec<String>,
pub input_paths: Vec<String>,
pub suppress_warnings: bool,
}Expand description
Command-line options
Fields§
§cite: boolEcho LaTeX \cite, \ref, and \pageref values
latex: boolForce LaTeX mode
no_follow: boolDo not follow \input and \include
space: boolReplace control sequences with space
force_tex: boolForce TeX mode (inhibit LaTeX mode)
word: boolWord-only output (one word per line)
src_loc: boolOutput source location information
show_pictures: boolShow picture names
replace: boolReplace environments with “noun” for grammar checking
env_ignore: Vec<String>List of environments to ignore
include_list: Vec<String>List of includeonly files
input_paths: Vec<String>Input search paths
suppress_warnings: boolSuppress warnings
Implementations§
Source§impl Options
impl Options
Sourcepub fn with_env_ignore(self, env_list: &str) -> Self
pub fn with_env_ignore(self, env_list: &str) -> Self
Create options with custom environment ignore list
Sourcepub fn setup_input_paths(&mut self)
pub fn setup_input_paths(&mut self)
Set up input paths from environment or defaults
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 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