Skip to main content

ContextOptions

Struct ContextOptions 

Source
#[repr(C)]
pub struct ContextOptions { pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub compileOptions_: PrefableCompileOptions, }

Fields§

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§compileOptions_: PrefableCompileOptions

Implementations§

Source§

impl ContextOptions

Source

pub fn wasm_(&self) -> bool

Source

pub fn set_wasm_(&mut self, val: bool)

Source

pub unsafe fn wasm__raw(this: *const Self) -> bool

Source

pub unsafe fn set_wasm__raw(this: *mut Self, val: bool)

Source

pub fn wasmForTrustedPrinciples_(&self) -> bool

Source

pub fn set_wasmForTrustedPrinciples_(&mut self, val: bool)

Source

pub unsafe fn wasmForTrustedPrinciples__raw(this: *const Self) -> bool

Source

pub unsafe fn set_wasmForTrustedPrinciples__raw(this: *mut Self, val: bool)

Source

pub fn wasmBaseline_(&self) -> bool

Source

pub fn set_wasmBaseline_(&mut self, val: bool)

Source

pub unsafe fn wasmBaseline__raw(this: *const Self) -> bool

Source

pub unsafe fn set_wasmBaseline__raw(this: *mut Self, val: bool)

Source

pub fn wasmIon_(&self) -> bool

Source

pub fn set_wasmIon_(&mut self, val: bool)

Source

pub unsafe fn wasmIon__raw(this: *const Self) -> bool

Source

pub unsafe fn set_wasmIon__raw(this: *mut Self, val: bool)

Source

pub fn testWasmAwaitTier2_(&self) -> bool

Source

pub fn set_testWasmAwaitTier2_(&mut self, val: bool)

Source

pub unsafe fn testWasmAwaitTier2__raw(this: *const Self) -> bool

Source

pub unsafe fn set_testWasmAwaitTier2__raw(this: *mut Self, val: bool)

Source

pub fn disableIon_(&self) -> bool

Source

pub fn set_disableIon_(&mut self, val: bool)

Source

pub unsafe fn disableIon__raw(this: *const Self) -> bool

Source

pub unsafe fn set_disableIon__raw(this: *mut Self, val: bool)

Source

pub fn disableEvalSecurityChecks_(&self) -> bool

Source

pub fn set_disableEvalSecurityChecks_(&mut self, val: bool)

Source

pub unsafe fn disableEvalSecurityChecks__raw(this: *const Self) -> bool

Source

pub unsafe fn set_disableEvalSecurityChecks__raw(this: *mut Self, val: bool)

Source

pub fn asyncStack_(&self) -> bool

Source

pub fn set_asyncStack_(&mut self, val: bool)

Source

pub unsafe fn asyncStack__raw(this: *const Self) -> bool

Source

pub unsafe fn set_asyncStack__raw(this: *mut Self, val: bool)

Source

pub fn asyncStackCaptureDebuggeeOnly_(&self) -> bool

Source

pub fn set_asyncStackCaptureDebuggeeOnly_(&mut self, val: bool)

Source

pub unsafe fn asyncStackCaptureDebuggeeOnly__raw(this: *const Self) -> bool

Source

pub unsafe fn set_asyncStackCaptureDebuggeeOnly__raw(this: *mut Self, val: bool)

Source

pub fn throwOnDebuggeeWouldRun_(&self) -> bool

Source

pub fn set_throwOnDebuggeeWouldRun_(&mut self, val: bool)

Source

pub unsafe fn throwOnDebuggeeWouldRun__raw(this: *const Self) -> bool

Source

pub unsafe fn set_throwOnDebuggeeWouldRun__raw(this: *mut Self, val: bool)

Source

pub fn dumpStackOnDebuggeeWouldRun_(&self) -> bool

Source

pub fn set_dumpStackOnDebuggeeWouldRun_(&mut self, val: bool)

Source

pub unsafe fn dumpStackOnDebuggeeWouldRun__raw(this: *const Self) -> bool

Source

pub unsafe fn set_dumpStackOnDebuggeeWouldRun__raw(this: *mut Self, val: bool)

Source

pub fn fuzzing_(&self) -> bool

Source

pub fn set_fuzzing_(&mut self, val: bool)

Source

pub unsafe fn fuzzing__raw(this: *const Self) -> bool

Source

pub unsafe fn set_fuzzing__raw(this: *mut Self, val: bool)

Source

pub fn new_bitfield_1( wasm_: bool, wasmForTrustedPrinciples_: bool, wasmBaseline_: bool, wasmIon_: bool, testWasmAwaitTier2_: bool, disableIon_: bool, disableEvalSecurityChecks_: bool, asyncStack_: bool, asyncStackCaptureDebuggeeOnly_: bool, throwOnDebuggeeWouldRun_: bool, dumpStackOnDebuggeeWouldRun_: bool, fuzzing_: bool, ) -> __BindgenBitfieldUnit<[u8; 2]>

Trait Implementations§

Source§

impl Clone for ContextOptions

Source§

fn clone(&self) -> ContextOptions

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ContextOptions

Source§

impl Debug for ContextOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for ContextOptions

Source§

fn eq(&self, other: &ContextOptions) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ContextOptions

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Filterable for T

Source§

fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>

Creates a filterable data provider with the given name for debugging. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> MaybeSendSync for T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.