#[repr(C)]pub struct JSJitObjectAPI {
pub struct_size: u32,
pub version: u32,
pub effects: u32,
pub max_literal_fields: u32,
pub literal: Option<unsafe extern "C" fn(*mut JSContext, *const u32, *const JSValue, u32, *mut JSValue) -> i32>,
pub retain_shape: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue) -> i32>,
pub array_method: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, u32, *mut JSValue) -> i32>,
pub array_push: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, *const JSValue, *const JSValue, *mut JSValue) -> i32>,
pub array_push_method: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, u32, *const JSValue, *mut JSValue) -> i32>,
}Fields§
§struct_size: u32§version: u32§effects: u32§max_literal_fields: u32§literal: Option<unsafe extern "C" fn(*mut JSContext, *const u32, *const JSValue, u32, *mut JSValue) -> i32>§retain_shape: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue) -> i32>§array_method: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, u32, *mut JSValue) -> i32>§array_push: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, *const JSValue, *const JSValue, *mut JSValue) -> i32>§array_push_method: Option<unsafe extern "C" fn(*mut JSContext, *const JSValue, u32, *const JSValue, *mut JSValue) -> i32>Trait Implementations§
Source§impl Clone for JSJitObjectAPI
impl Clone for JSJitObjectAPI
Source§fn clone(&self) -> JSJitObjectAPI
fn clone(&self) -> JSJitObjectAPI
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JSJitObjectAPI
Auto Trait Implementations§
impl Freeze for JSJitObjectAPI
impl RefUnwindSafe for JSJitObjectAPI
impl Send for JSJitObjectAPI
impl Sync for JSJitObjectAPI
impl Unpin for JSJitObjectAPI
impl UnsafeUnpin for JSJitObjectAPI
impl UnwindSafe for JSJitObjectAPI
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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