Struct rquickjs_core::qjs::JSClassDef [−][src]
#[repr(C)]pub struct JSClassDef {
pub class_name: *const i8,
pub finalizer: Option<unsafe extern "C" fn(*mut JSRuntime, JSValue)>,
pub gc_mark: Option<unsafe extern "C" fn(*mut JSRuntime, JSValue, Option<unsafe extern "C" fn(*mut JSRuntime, *mut JSGCObjectHeader)>)>,
pub call: Option<unsafe extern "C" fn(*mut JSContext, JSValue, JSValue, i32, *mut JSValue, i32) -> JSValue>,
pub exotic: *mut JSClassExoticMethods,
}Fields
class_name: *const i8finalizer: Option<unsafe extern "C" fn(*mut JSRuntime, JSValue)>gc_mark: Option<unsafe extern "C" fn(*mut JSRuntime, JSValue, Option<unsafe extern "C" fn(*mut JSRuntime, *mut JSGCObjectHeader)>)>call: Option<unsafe extern "C" fn(*mut JSContext, JSValue, JSValue, i32, *mut JSValue, i32) -> JSValue>exotic: *mut JSClassExoticMethodsTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JSClassDef
impl !Send for JSClassDef
impl !Sync for JSClassDef
impl Unpin for JSClassDef
impl UnwindSafe for JSClassDef
Blanket Implementations
Mutably borrows from an owned value. Read more
