pub struct CompilerBuilder { /* private fields */ }
Implementations§
Source§impl CompilerBuilder
impl CompilerBuilder
pub fn optimization_level(self, level: OptimizationLevel) -> Self
pub fn compression(self, enable: bool) -> Self
pub fn cache(self, enable: bool) -> Self
pub fn cache_dir<P: Into<PathBuf>>(self, dir: P) -> Self
pub fn verbose(self, enable: bool) -> Self
pub fn build(self) -> Compiler
Trait Implementations§
Source§impl Default for CompilerBuilder
impl Default for CompilerBuilder
Source§fn default() -> CompilerBuilder
fn default() -> CompilerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompilerBuilder
impl RefUnwindSafe for CompilerBuilder
impl Send for CompilerBuilder
impl Sync for CompilerBuilder
impl Unpin for CompilerBuilder
impl UnwindSafe for CompilerBuilder
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