pub struct Features {
pub simd: bool,
pub threads: bool,
}Expand description
Controls which experimental features will be enabled. Features usually have a corresponding WebAssembly proposal.
Fields§
§simd: boolWhether support for the SIMD proposal is enabled.
threads: boolWhether support for the threads proposal is enabled.
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