pub struct TypeInfo(/* private fields */);
Expand description
This structure is used to provide the type system with the information required to initialize and destruct (finalize) a type’s class and its instances.
The initialized structure is passed to the g_type_register_static()
function
(or is copied into the provided TypeInfo
structure in the
[TypePluginExtManual::complete_type_info()
][crate::prelude::TypePluginExtManual::complete_type_info()]). The type system will perform a deep
copy of this structure, so its memory does not need to be persistent
across invocation of g_type_register_static()
.
Trait Implementations§
impl Copy for TypeInfo
Auto Trait Implementations§
impl Freeze for TypeInfo
impl RefUnwindSafe for TypeInfo
impl !Send for TypeInfo
impl !Sync for TypeInfo
impl Unpin for TypeInfo
impl UnwindSafe for TypeInfo
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