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§
Trait Implementations§
source§impl Clone for OptimizeLevel
impl Clone for OptimizeLevel
source§fn clone(&self) -> OptimizeLevel
fn clone(&self) -> OptimizeLevel
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 Debug for OptimizeLevel
impl Debug for OptimizeLevel
source§impl Default for OptimizeLevel
impl Default for OptimizeLevel
source§fn default() -> OptimizeLevel
fn default() -> OptimizeLevel
Returns the “default value” for a type. Read more
source§impl PartialEq<OptimizeLevel> for OptimizeLevel
impl PartialEq<OptimizeLevel> for OptimizeLevel
source§fn eq(&self, other: &OptimizeLevel) -> bool
fn eq(&self, other: &OptimizeLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.