pub struct ModuleInfo {
pub id: ModuleId,
pub name: &'static str,
pub global: bool,
}Expand description
A module of a booted app.
Fields§
§id: ModuleIdThe module id.
name: &'static strThe module name.
global: boolWhether the module’s exports are visible everywhere.
Trait Implementations§
Source§impl Clone for ModuleInfo
impl Clone for ModuleInfo
Auto Trait Implementations§
impl Forget for ModuleInfo
impl Freeze for ModuleInfo
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnsafeUnpin for ModuleInfo
impl UnwindSafe for ModuleInfo
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