Struct rquickjs_sys::JSClassDef
source · [−]#[repr(C)]pub struct JSClassDef {
pub class_name: *const c_char,
pub finalizer: JSClassFinalizer,
pub gc_mark: JSClassGCMark,
pub call: JSClassCall,
pub exotic: *mut JSClassExoticMethods,
}
Fields
class_name: *const c_char
finalizer: JSClassFinalizer
gc_mark: JSClassGCMark
call: JSClassCall
exotic: *mut JSClassExoticMethods
Trait Implementations
sourceimpl Clone for JSClassDef
impl Clone for JSClassDef
sourcefn clone(&self) -> JSClassDef
fn clone(&self) -> JSClassDef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JSClassDef
impl Debug for JSClassDef
impl Copy for JSClassDef
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more