#[repr(C)]pub struct CallArgs {
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 CallArgs
impl CallArgs
pub unsafe fn from_vp(vp: *mut Value, argc: u32) -> CallArgs
pub fn index(&self, i: u32) -> HandleValue
pub fn index_mut(&self, i: u32) -> MutableHandleValue
pub fn get(&self, i: u32) -> HandleValue
pub fn rval(&self) -> MutableHandleValue
pub fn thisv(&self) -> HandleValue
pub fn calleev(&self) -> HandleValue
pub fn callee(&self) -> *mut JSObject
pub fn new_target(&self) -> MutableHandleValue
pub fn is_constructing(&self) -> bool
source§impl CallArgs
impl CallArgs
pub fn constructing_(&self) -> bool
pub fn set_constructing_(&mut self, val: bool)
pub fn ignoresReturnValue_(&self) -> bool
pub fn set_ignoresReturnValue_(&mut self, val: bool)
pub fn new_bitfield_1( constructing_: bool, ignoresReturnValue_: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl PartialEq for CallArgs
impl PartialEq for CallArgs
impl Copy for CallArgs
impl StructuralPartialEq for CallArgs
Auto Trait Implementations§
impl Freeze for CallArgs
impl RefUnwindSafe for CallArgs
impl !Send for CallArgs
impl !Sync for CallArgs
impl Unpin for CallArgs
impl UnwindSafe for CallArgs
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> 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