Struct mozjs::jsapi::JSNativeWrapper
[−]
[src]
#[repr(C)]pub struct JSNativeWrapper { pub op: JSNative, pub info: *const JSJitInfo, }
Wrapper to relace JSNative for JSPropertySpecs and JSFunctionSpecs. This will allow us to pass one JSJitInfo per function with the property/function spec, without additional field overhead.
Fields
op: JSNative
info: *const JSJitInfo
Trait Implementations
impl Debug for JSNativeWrapper
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more