#[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 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 From<&CallArgs> for HandleValueArray
impl From<&CallArgs> for HandleValueArray
source§fn from(args: &CallArgs) -> HandleValueArray
fn from(args: &CallArgs) -> HandleValueArray
Converts to this type from the input type.
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> 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