pub struct ClassDescriptor<'l> {
pub name: &'l str,
pub base_class: &'l str,
pub constructor: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> *mut c_void>,
pub destructor: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut c_void)>,
}
Fields§
§name: &'l str
§base_class: &'l str
§constructor: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> *mut c_void>
§destructor: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut c_void)>
Auto Trait Implementations§
impl<'l> Freeze for ClassDescriptor<'l>
impl<'l> RefUnwindSafe for ClassDescriptor<'l>
impl<'l> Send for ClassDescriptor<'l>
impl<'l> Sync for ClassDescriptor<'l>
impl<'l> Unpin for ClassDescriptor<'l>
impl<'l> UnwindSafe for ClassDescriptor<'l>
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