#[repr(C)]pub struct JSWrapObjectCallbacks {
pub wrap: Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>) -> *mut JSObject>,
pub preWrap: Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>, Handle<*mut JSObject>, Handle<*mut JSObject>, MutableHandle<*mut JSObject>)>,
}
Fields§
§wrap: Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>) -> *mut JSObject>
§preWrap: Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>, Handle<*mut JSObject>, Handle<*mut JSObject>, MutableHandle<*mut JSObject>)>
Trait Implementations§
Source§impl Clone for JSWrapObjectCallbacks
impl Clone for JSWrapObjectCallbacks
Source§fn clone(&self) -> JSWrapObjectCallbacks
fn clone(&self) -> JSWrapObjectCallbacks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JSWrapObjectCallbacks
impl Debug for JSWrapObjectCallbacks
Source§impl PartialEq for JSWrapObjectCallbacks
impl PartialEq for JSWrapObjectCallbacks
impl Copy for JSWrapObjectCallbacks
impl StructuralPartialEq for JSWrapObjectCallbacks
Auto Trait Implementations§
impl Freeze for JSWrapObjectCallbacks
impl RefUnwindSafe for JSWrapObjectCallbacks
impl Send for JSWrapObjectCallbacks
impl Sync for JSWrapObjectCallbacks
impl Unpin for JSWrapObjectCallbacks
impl UnwindSafe for JSWrapObjectCallbacks
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> 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