Struct mozjs_sys::jsapi::JSJitMethodCallArgs
source · #[repr(C)]pub struct JSJitMethodCallArgs {
pub argv_: *mut Value,
pub argc_: c_uint,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Expand description
Fields§
§argv_: *mut Value
§argc_: c_uint
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
source§impl JSJitMethodCallArgs
impl JSJitMethodCallArgs
pub fn get(&self, i: u32) -> HandleValue
pub fn index(&self, i: u32) -> HandleValue
pub fn index_mut(&self, i: u32) -> MutableHandleValue
pub fn rval(&self) -> MutableHandleValue
source§impl JSJitMethodCallArgs
impl JSJitMethodCallArgs
pub fn constructing_(&self) -> bool
pub fn set_constructing_(&mut self, val: bool)
pub unsafe fn constructing__raw(this: *const Self) -> bool
pub unsafe fn set_constructing__raw(this: *mut Self, val: bool)
pub fn ignoresReturnValue_(&self) -> bool
pub fn set_ignoresReturnValue_(&mut self, val: bool)
pub unsafe fn ignoresReturnValue__raw(this: *const Self) -> bool
pub unsafe fn set_ignoresReturnValue__raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( constructing_: bool, ignoresReturnValue_: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for JSJitMethodCallArgs
impl Clone for JSJitMethodCallArgs
source§fn clone(&self) -> JSJitMethodCallArgs
fn clone(&self) -> JSJitMethodCallArgs
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 JSJitMethodCallArgs
impl Debug for JSJitMethodCallArgs
source§impl PartialEq for JSJitMethodCallArgs
impl PartialEq for JSJitMethodCallArgs
impl Copy for JSJitMethodCallArgs
impl StructuralPartialEq for JSJitMethodCallArgs
Auto Trait Implementations§
impl Freeze for JSJitMethodCallArgs
impl RefUnwindSafe for JSJitMethodCallArgs
impl !Send for JSJitMethodCallArgs
impl !Sync for JSJitMethodCallArgs
impl Unpin for JSJitMethodCallArgs
impl UnwindSafe for JSJitMethodCallArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more