pub struct Features {
pub baseline: FeatureBaseline,
pub enabled: HashSet<Feature>,
pub disabled: HashSet<Feature>,
}
Expand description
Which wasm Feature
s to enable and disable.
The baseline features are applied first, then enabled and disabled features are applied.
Fields§
§baseline: FeatureBaseline
§enabled: HashSet<Feature>
§disabled: HashSet<Feature>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
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