Enum wasm_opt::ShrinkLevel
source · pub enum ShrinkLevel {
Level0,
Level1,
Level2,
}Expand description
The amount of effort to put into reducing module size.
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 ShrinkLevel
impl Clone for ShrinkLevel
source§fn clone(&self) -> ShrinkLevel
fn clone(&self) -> ShrinkLevel
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 ShrinkLevel
impl Debug for ShrinkLevel
source§impl Default for ShrinkLevel
impl Default for ShrinkLevel
source§fn default() -> ShrinkLevel
fn default() -> ShrinkLevel
Returns the “default value” for a type. Read more
source§impl PartialEq<ShrinkLevel> for ShrinkLevel
impl PartialEq<ShrinkLevel> for ShrinkLevel
source§fn eq(&self, other: &ShrinkLevel) -> bool
fn eq(&self, other: &ShrinkLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.