#[repr(C)]pub struct CallArgs {
pub argv_: *mut Value,
pub argc_: u32,
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_: u32
§_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) -> Handle<Value>
pub fn index_mut(&self, i: u32) -> MutableHandle<Value>
pub fn get(&self, i: u32) -> Handle<Value>
pub fn rval(&self) -> MutableHandle<Value>
pub fn thisv(&self) -> Handle<Value>
pub fn calleev(&self) -> Handle<Value>
pub fn callee(&self) -> *mut JSObject
pub fn new_target(&self) -> MutableHandle<Value>
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert