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
Level0
Level1
Level2
Trait Implementations
sourceimpl Clone for ShrinkLevel
impl Clone for ShrinkLevel
sourcefn clone(&self) -> ShrinkLevel
fn clone(&self) -> ShrinkLevel
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 ShrinkLevel
impl Debug for ShrinkLevel
sourceimpl Default for ShrinkLevel
impl Default for ShrinkLevel
sourcefn default() -> ShrinkLevel
fn default() -> ShrinkLevel
Returns the “default value” for a type. Read more
impl Copy for ShrinkLevel
Auto Trait Implementations
impl RefUnwindSafe for ShrinkLevel
impl Send for ShrinkLevel
impl Sync for ShrinkLevel
impl Unpin for ShrinkLevel
impl UnwindSafe for ShrinkLevel
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