pub struct Args {Show 18 fields
pub check: bool,
pub print: bool,
pub fail_on_change: bool,
pub wrap: bool,
pub wraplen: u8,
pub wrapmin: u8,
pub tabsize: u8,
pub tabchar: TabChar,
pub stdin: bool,
pub config: Option<PathBuf>,
pub lists: Vec<String>,
pub verbatims: Vec<String>,
pub no_indent_envs: Vec<String>,
pub wrap_chars: Vec<char>,
pub verbosity: LevelFilter,
pub arguments: bool,
pub files: Vec<PathBuf>,
pub recursive: bool,
}
Expand description
Arguments passed to tex-fmt
Fields§
§check: bool
Check formatting, do not modify files
print: bool
Print to stdout, do not modify files
fail_on_change: bool
Return non-0 exit code when modifying files
wrap: bool
Wrap long lines
wraplen: u8
Maximum allowed line length
wrapmin: u8
Wrap lines longer than this
tabsize: u8
Number of characters to use as tab size
tabchar: TabChar
Characters to use for indentation
stdin: bool
Read from stdin and output to stdout
config: Option<PathBuf>
Path to config file
lists: Vec<String>
Extra list environments
verbatims: Vec<String>
Extra verbatim environments
no_indent_envs: Vec<String>
Environments which are not indented
wrap_chars: Vec<char>
Characters after which lines can be wrapped
verbosity: LevelFilter
Verbosity level for log messages
arguments: bool
Print arguments and exit
files: Vec<PathBuf>
List of files to be formatted
recursive: bool
Recursive search for files
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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