Enum wasm_opt::FeatureBaseline
source · pub enum FeatureBaseline {
Default,
MvpOnly,
All,
}Expand description
The set of features to apply before applying custom features.
Variants§
Default
The default Binaryen feature set.
Enables Feature::Default.
Disables Feature::None.
MvpOnly
Only allow WebAssembly MVP features.
Enables Feature::Mvp.
Disables Feature::All.
All
Allow all features.
Enables Feature::All.
Disables Feature::Mvp`.
Trait Implementations§
source§impl Clone for FeatureBaseline
impl Clone for FeatureBaseline
source§fn clone(&self) -> FeatureBaseline
fn clone(&self) -> FeatureBaseline
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 FeatureBaseline
impl Debug for FeatureBaseline
source§impl Default for FeatureBaseline
impl Default for FeatureBaseline
source§fn default() -> FeatureBaseline
fn default() -> FeatureBaseline
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FeatureBaseline
impl Send for FeatureBaseline
impl Sync for FeatureBaseline
impl Unpin for FeatureBaseline
impl UnwindSafe for FeatureBaseline
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