pub struct CompileOptions {
pub include_runtime: bool,
pub debug_mode: bool,
pub enable_parallelization: bool,
pub optimization_level: OptimizationLevel,
pub target_dir: Option<String>,
pub flags: Vec<String>,
}Expand description
Compilation options
Fields§
§include_runtime: boolWhether to include runtime helpers in the compiled output
debug_mode: boolWhether to add debug information to the compiled output
enable_parallelization: boolWhether to attempt automatic parallelization
optimization_level: OptimizationLevelOptimization level to apply
target_dir: Option<String>Target directory for compiled output
flags: Vec<String>Additional compiler flags
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§fn clone(&self) -> CompileOptions
fn clone(&self) -> CompileOptions
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 moreSource§impl Debug for CompileOptions
impl Debug for CompileOptions
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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