Struct mozjs::jsapi::JS::ContextOptions
source · #[repr(C)]pub struct ContextOptions {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
source§impl ContextOptions
impl ContextOptions
pub fn asmJS_(&self) -> bool
pub fn set_asmJS_(&mut self, val: bool)
pub fn wasm_(&self) -> bool
pub fn set_wasm_(&mut self, val: bool)
pub fn wasmForTrustedPrinciples_(&self) -> bool
pub fn set_wasmForTrustedPrinciples_(&mut self, val: bool)
pub fn wasmVerbose_(&self) -> bool
pub fn set_wasmVerbose_(&mut self, val: bool)
pub fn wasmBaseline_(&self) -> bool
pub fn set_wasmBaseline_(&mut self, val: bool)
pub fn wasmIon_(&self) -> bool
pub fn set_wasmIon_(&mut self, val: bool)
pub fn wasmExtendedConst_(&self) -> bool
pub fn set_wasmExtendedConst_(&mut self, val: bool)
pub fn wasmExceptions_(&self) -> bool
pub fn set_wasmExceptions_(&mut self, val: bool)
pub fn wasmFunctionReferences_(&self) -> bool
pub fn set_wasmFunctionReferences_(&mut self, val: bool)
pub fn wasmGc_(&self) -> bool
pub fn set_wasmGc_(&mut self, val: bool)
pub fn wasmRelaxedSimd_(&self) -> bool
pub fn set_wasmRelaxedSimd_(&mut self, val: bool)
pub fn wasmMemory64_(&self) -> bool
pub fn set_wasmMemory64_(&mut self, val: bool)
pub fn wasmMemoryControl_(&self) -> bool
pub fn set_wasmMemoryControl_(&mut self, val: bool)
pub fn wasmMozIntGemm_(&self) -> bool
pub fn set_wasmMozIntGemm_(&mut self, val: bool)
pub fn wasmTestSerialization_(&self) -> bool
pub fn set_wasmTestSerialization_(&mut self, val: bool)
pub fn testWasmAwaitTier2_(&self) -> bool
pub fn set_testWasmAwaitTier2_(&mut self, val: bool)
pub fn throwOnAsmJSValidationFailure_(&self) -> bool
pub fn set_throwOnAsmJSValidationFailure_(&mut self, val: bool)
pub fn disableIon_(&self) -> bool
pub fn set_disableIon_(&mut self, val: bool)
pub fn disableEvalSecurityChecks_(&self) -> bool
pub fn set_disableEvalSecurityChecks_(&mut self, val: bool)
pub fn asyncStack_(&self) -> bool
pub fn set_asyncStack_(&mut self, val: bool)
pub fn asyncStackCaptureDebuggeeOnly_(&self) -> bool
pub fn set_asyncStackCaptureDebuggeeOnly_(&mut self, val: bool)
pub fn sourcePragmas_(&self) -> bool
pub fn set_sourcePragmas_(&mut self, val: bool)
pub fn throwOnDebuggeeWouldRun_(&self) -> bool
pub fn set_throwOnDebuggeeWouldRun_(&mut self, val: bool)
pub fn dumpStackOnDebuggeeWouldRun_(&self) -> bool
pub fn set_dumpStackOnDebuggeeWouldRun_(&mut self, val: bool)
pub fn strictMode_(&self) -> bool
pub fn set_strictMode_(&mut self, val: bool)
pub fn fuzzing_(&self) -> bool
pub fn set_fuzzing_(&mut self, val: bool)
pub fn importAssertions_(&self) -> bool
pub fn set_importAssertions_(&mut self, val: bool)
pub fn new_bitfield_1( asmJS_: bool, wasm_: bool, wasmForTrustedPrinciples_: bool, wasmVerbose_: bool, wasmBaseline_: bool, wasmIon_: bool, wasmExtendedConst_: bool, wasmExceptions_: bool, wasmFunctionReferences_: bool, wasmGc_: bool, wasmRelaxedSimd_: bool, wasmMemory64_: bool, wasmMemoryControl_: bool, wasmMozIntGemm_: bool, wasmTestSerialization_: bool, testWasmAwaitTier2_: bool, throwOnAsmJSValidationFailure_: bool, disableIon_: bool, disableEvalSecurityChecks_: bool, asyncStack_: bool, asyncStackCaptureDebuggeeOnly_: bool, sourcePragmas_: bool, throwOnDebuggeeWouldRun_: bool, dumpStackOnDebuggeeWouldRun_: bool, strictMode_: bool, fuzzing_: bool, importAssertions_: bool ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for ContextOptions
impl Clone for ContextOptions
source§fn clone(&self) -> ContextOptions
fn clone(&self) -> ContextOptions
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 ContextOptions
impl Debug for ContextOptions
source§impl PartialEq<ContextOptions> for ContextOptions
impl PartialEq<ContextOptions> for ContextOptions
source§fn eq(&self, other: &ContextOptions) -> bool
fn eq(&self, other: &ContextOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ContextOptions
impl StructuralPartialEq for ContextOptions
Auto Trait Implementations§
impl RefUnwindSafe for ContextOptions
impl Send for ContextOptions
impl Sync for ContextOptions
impl Unpin for ContextOptions
impl UnwindSafe for ContextOptions
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