#[repr(C)]pub struct JSJitRuntimeAPI {Show 24 fields
pub struct_size: u32,
pub major: u16,
pub minor: u16,
pub interrupt_poll: Option<unsafe extern "C" fn(*mut JSJitExecFrame) -> i32>,
pub dup: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub free: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>,
pub resolve_const: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub to_numeric: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub to_bool: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub add_slow: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub compare_slow: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32) -> i32>,
pub get_property: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub set_property: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub call: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>,
pub new_array: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>,
pub new_object: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>,
pub shape_guard: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>,
pub materialize_owner: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub get_element: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub set_element: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
pub to_propkey: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub get_global: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>,
pub call_constructor: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>,
pub regexp: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>,
}Fields§
§struct_size: u32§major: u16§minor: u16§interrupt_poll: Option<unsafe extern "C" fn(*mut JSJitExecFrame) -> i32>§dup: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§free: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>§resolve_const: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§to_numeric: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§to_bool: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§add_slow: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§compare_slow: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32) -> i32>§get_property: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§set_property: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§call: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>§new_array: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>§new_object: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32) -> i32>§shape_guard: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>§materialize_owner: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§get_element: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§set_element: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>§to_propkey: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§get_global: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32) -> i32>§call_constructor: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32, u32, u32) -> i32>§regexp: Option<unsafe extern "C" fn(*mut JSJitExecFrame, u32, u32, u32, u32) -> i32>Trait Implementations§
Source§impl Clone for JSJitRuntimeAPI
impl Clone for JSJitRuntimeAPI
Source§fn clone(&self) -> JSJitRuntimeAPI
fn clone(&self) -> JSJitRuntimeAPI
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 JSJitRuntimeAPI
Auto Trait Implementations§
impl Freeze for JSJitRuntimeAPI
impl RefUnwindSafe for JSJitRuntimeAPI
impl Send for JSJitRuntimeAPI
impl Sync for JSJitRuntimeAPI
impl Unpin for JSJitRuntimeAPI
impl UnsafeUnpin for JSJitRuntimeAPI
impl UnwindSafe for JSJitRuntimeAPI
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§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