Trait libbismuth::subclass::prelude::TypeModuleImpl
pub trait TypeModuleImpl: ObjectImpl + TypeModuleImplExt {
// Required methods
fn load(&self) -> bool;
fn unload(&self);
}
Required Methods§
fn load(&self) -> bool
fn load(&self) -> bool
Loads the module, registers one or more object subclasses using
register_dynamic_type
and registers one or more object interfaces
using register_dynamic_interface
(see TypeModule
).
fn unload(&self)
fn unload(&self)
Unloads the module (see TypeModuleExt::unuse
).
Object Safety§
This trait is not object safe.