pub struct BatchCompileOptions {
pub driver: CompilerDriverOptions,
pub search_roots: Vec<PathBuf>,
pub recurse: bool,
pub follow_symlinks: bool,
pub continue_on_error: bool,
pub simulate: bool,
pub output_directory: Option<PathBuf>,
pub graphviz_directory: Option<PathBuf>,
}Expand description
Options controlling multi-file directory and file compilation.
Fields§
§driver: CompilerDriverOptionsCallback/session behavior for each compilation.
search_roots: Vec<PathBuf>Extra filesystem roots used for langspec and include resolution.
recurse: boolWhether directory traversal should recurse.
follow_symlinks: boolWhether directory traversal should follow symlinks.
continue_on_error: boolWhether compilation should continue after one file fails.
simulate: boolWhether outputs should be simulated without writing files.
output_directory: Option<PathBuf>Optional output directory overriding each source file’s parent.
graphviz_directory: Option<PathBuf>Optional directory for Graphviz DOT output.
Trait Implementations§
Source§impl Clone for BatchCompileOptions
impl Clone for BatchCompileOptions
Source§fn clone(&self) -> BatchCompileOptions
fn clone(&self) -> BatchCompileOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchCompileOptions
impl Debug for BatchCompileOptions
Source§impl Default for BatchCompileOptions
impl Default for BatchCompileOptions
Source§impl PartialEq for BatchCompileOptions
impl PartialEq for BatchCompileOptions
impl Eq for BatchCompileOptions
impl StructuralPartialEq for BatchCompileOptions
Auto Trait Implementations§
impl Freeze for BatchCompileOptions
impl RefUnwindSafe for BatchCompileOptions
impl Send for BatchCompileOptions
impl Sync for BatchCompileOptions
impl Unpin for BatchCompileOptions
impl UnsafeUnpin for BatchCompileOptions
impl UnwindSafe for BatchCompileOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.