pub struct FileState {
pub read_files: Vec<ReadFile>,
pub name_in_progress: bool,
pub output_dir: Option<PathBuf>,
pub private_output_dir: bool,
pub read_log: Vec<FileRecord>,
pub written: HashMap<PathBuf, Vec<u8>>,
pub command_line: Vec<u8>,
pub log_name: Option<PathBuf>,
pub log_in_texmfoutput: bool,
pub watched: Vec<PathBuf>,
}Expand description
File-related state.
Fields§
§read_files: Vec<ReadFile>\read streams 0–15.
name_in_progress: boolWhether a file name is being scanned (name_in_progress).
output_dir: Option<PathBuf>The directory for output files (-output-directory).
private_output_dir: boolWhether output_dir is retex’s own directory for auxiliary files
(.retex/…), not one the user asked for.
read_log: Vec<FileRecord>Files read during this pass, in order of first access.
written: HashMap<PathBuf, Vec<u8>>Content of files written during this pass, by path.
command_line: Vec<u8>The first line given on the command line.
log_name: Option<PathBuf>The log file name, once opened.
log_in_texmfoutput: boolWhether the log went to TEXMFOUTPUT (the current directory was not writable).
watched: Vec<PathBuf>Further files the job depends on that the pass driver does not
compare between passes (images, OpenType fonts), for --watch and
-recorder.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileState
impl RefUnwindSafe for FileState
impl Send for FileState
impl Sync for FileState
impl Unpin for FileState
impl UnsafeUnpin for FileState
impl UnwindSafe for FileState
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