Struct mozjs::jsapi::JS::DecodeOptions
source · #[repr(C)]pub struct DecodeOptions {
pub borrowBuffer: bool,
pub usePinnedBytecode: bool,
pub allocateInstantiationStorage: bool,
pub forceAsync: bool,
pub introducerFilename: *const i8,
pub introductionType: *const i8,
pub introductionLineno: u32,
pub introductionOffset: u32,
}
Expand description
Subset of CompileOptions fields used while decoding Stencils.
Fields§
§borrowBuffer: bool
§usePinnedBytecode: bool
§allocateInstantiationStorage: bool
§forceAsync: bool
§introducerFilename: *const i8
§introductionType: *const i8
§introductionLineno: u32
§introductionOffset: u32
Trait Implementations§
source§impl Clone for DecodeOptions
impl Clone for DecodeOptions
source§fn clone(&self) -> DecodeOptions
fn clone(&self) -> DecodeOptions
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 DecodeOptions
impl Debug for DecodeOptions
source§impl PartialEq<DecodeOptions> for DecodeOptions
impl PartialEq<DecodeOptions> for DecodeOptions
source§fn eq(&self, other: &DecodeOptions) -> bool
fn eq(&self, other: &DecodeOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecodeOptions
impl StructuralPartialEq for DecodeOptions
Auto Trait Implementations§
impl RefUnwindSafe for DecodeOptions
impl !Send for DecodeOptions
impl !Sync for DecodeOptions
impl Unpin for DecodeOptions
impl UnwindSafe for DecodeOptions
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