pub struct NativeClass<T>(/* private fields */);Expand description
An RTTI representation of a native class.
Implementations§
Source§impl<T> NativeClass<T>
impl<T> NativeClass<T>
Sourcepub fn new_handle(name: &CStr, base: Option<&Class>) -> ClassHandle
pub fn new_handle(name: &CStr, base: Option<&Class>) -> ClassHandle
Creates a new native class with the given base type.
Returns a handle to the class, this handle should be used to register the class with
RttiSystemMut. Any further interaction with the class should be
done through RTTI.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for NativeClass<T>
impl<T> !RefUnwindSafe for NativeClass<T>
impl<T> !Send for NativeClass<T>
impl<T> !Sync for NativeClass<T>
impl<T> Unpin for NativeClass<T>
impl<T> !UnwindSafe for NativeClass<T>
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