Struct leo_compiler::BuildOptions
source · pub struct BuildOptions {
pub dce_enabled: bool,
}
Fields§
§dce_enabled: bool
Whether to enable dead code elimination.
Trait Implementations§
source§impl Clone for BuildOptions
impl Clone for BuildOptions
source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
Returns a copy 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 Default for BuildOptions
impl Default for BuildOptions
source§fn default() -> BuildOptions
fn default() -> BuildOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnwindSafe for BuildOptions
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