pub struct ModuleReport {
pub id: ModuleId,
pub name: &'static str,
pub global: bool,
pub imports: Vec<&'static str>,
pub providers: Vec<ProviderReport>,
pub exports: Vec<String>,
pub commands: Vec<CommandInfo>,
}Expand description
One module of a GraphReport.
Fields§
§id: ModuleIdThe module id.
name: &'static strThe module name.
global: boolWhether the module’s exports are visible everywhere.
imports: Vec<&'static str>Names of the modules it imports.
providers: Vec<ProviderReport>Its providers, in registration order.
exports: Vec<String>The keys it exports.
commands: Vec<CommandInfo>The commands it registers.
Trait Implementations§
Source§impl Clone for ModuleReport
impl Clone for ModuleReport
Auto Trait Implementations§
impl Forget for ModuleReport
impl Freeze for ModuleReport
impl Move for ModuleReport
impl RefUnwindSafe for ModuleReport
impl Send for ModuleReport
impl Sync for ModuleReport
impl Unpin for ModuleReport
impl UnsafeUnpin for ModuleReport
impl UnwindSafe for ModuleReport
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