pub struct ModuleRegistration {
pub name: &'static str,
pub module_type: &'static str,
pub instantiate_fn_name: &'static str,
pub module_path: &'static str,
pub struct_name: &'static str,
pub factory: ModuleFactory,
}Expand description
Registration entry for inventory collection
Fields§
§name: &'static str§module_type: &'static str§instantiate_fn_name: &'static str§module_path: &'static str§struct_name: &'static str§factory: ModuleFactoryTrait Implementations§
impl Collect for ModuleRegistration
Auto Trait Implementations§
impl Freeze for ModuleRegistration
impl RefUnwindSafe for ModuleRegistration
impl Send for ModuleRegistration
impl Sync for ModuleRegistration
impl Unpin for ModuleRegistration
impl UnwindSafe for ModuleRegistration
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