Enum wasm_opt::OptimizeLevel
source · [−]pub enum OptimizeLevel {
Level0,
Level1,
Level2,
Level3,
Level4,
}Expand description
The amount of optimization to apply.
This is interpreted differently by different passes.
See the documentation of various OptimizationOptions
constructors for a general description of how these behave.
Variants
Level0
Level1
Level2
Level3
Level4
Trait Implementations
sourceimpl Clone for OptimizeLevel
impl Clone for OptimizeLevel
sourcefn clone(&self) -> OptimizeLevel
fn clone(&self) -> OptimizeLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OptimizeLevel
impl Debug for OptimizeLevel
sourceimpl Default for OptimizeLevel
impl Default for OptimizeLevel
sourcefn default() -> OptimizeLevel
fn default() -> OptimizeLevel
Returns the “default value” for a type. Read more
impl Copy for OptimizeLevel
Auto Trait Implementations
impl RefUnwindSafe for OptimizeLevel
impl Send for OptimizeLevel
impl Sync for OptimizeLevel
impl Unpin for OptimizeLevel
impl UnwindSafe for OptimizeLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more