pub struct CompileConfig {
pub temp_file: PathBuf,
pub output_dir: PathBuf,
pub extra_args: Vec<String>,
pub completed_notes_metadata: Vec<CompletedNote>,
pub required_formats: Vec<Format>,
}Expand description
Configuration for compiling Typst files.
Fields§
§temp_file: PathBufThe temporary Typst file to compile.
output_dir: PathBufOutput directory for compiled files.
extra_args: Vec<String>Additional arguments to pass to typst compile.
completed_notes_metadata: Vec<CompletedNote>Note metadata with all defaults applied, in document order.
required_formats: Vec<Format>The image formats that must be compiled for this run.
Implementations§
Source§impl CompileConfig
impl CompileConfig
Trait Implementations§
Source§impl Clone for CompileConfig
impl Clone for CompileConfig
Source§fn clone(&self) -> CompileConfig
fn clone(&self) -> CompileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompileConfig
impl RefUnwindSafe for CompileConfig
impl Send for CompileConfig
impl Sync for CompileConfig
impl Unpin for CompileConfig
impl UnsafeUnpin for CompileConfig
impl UnwindSafe for CompileConfig
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