Enum mozjs::jsapi::JS::AsmJSOption
source · #[repr(u8)]pub enum AsmJSOption {
Enabled,
DisabledByAsmJSPref,
DisabledByLinker,
DisabledByNoWasmCompiler,
DisabledByDebugger,
}
Variants§
Trait Implementations§
source§impl Clone for AsmJSOption
impl Clone for AsmJSOption
source§fn clone(&self) -> AsmJSOption
fn clone(&self) -> AsmJSOption
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 AsmJSOption
impl Debug for AsmJSOption
source§impl Hash for AsmJSOption
impl Hash for AsmJSOption
source§impl PartialEq<AsmJSOption> for AsmJSOption
impl PartialEq<AsmJSOption> for AsmJSOption
source§fn eq(&self, other: &AsmJSOption) -> bool
fn eq(&self, other: &AsmJSOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AsmJSOption
impl Eq for AsmJSOption
impl StructuralEq for AsmJSOption
impl StructuralPartialEq for AsmJSOption
Auto Trait Implementations§
impl RefUnwindSafe for AsmJSOption
impl Send for AsmJSOption
impl Sync for AsmJSOption
impl Unpin for AsmJSOption
impl UnwindSafe for AsmJSOption
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