pub struct ModuleInfo<'a> {
pub id: Id,
pub name: &'a str,
pub file_name: &'a str,
pub args: Option<&'a str>,
pub mask: ModuleChangeMask,
pub props: &'a Properties,
}Expand description
Module information that is provided in a ModuleEvents::info event.
Fields§
§id: IdThe ID of the module.
name: &'a strThe name of the module
file_name: &'a strThe file name the module was loaded from.
args: Option<&'a str>Arguments the module was loaded with.
mask: ModuleChangeMaskWhat changed since the last call.
props: &'a PropertiesThe module’s properties.
Auto Trait Implementations§
impl<'a> Freeze for ModuleInfo<'a>
impl<'a> RefUnwindSafe for ModuleInfo<'a>
impl<'a> Send for ModuleInfo<'a>
impl<'a> Sync for ModuleInfo<'a>
impl<'a> Unpin for ModuleInfo<'a>
impl<'a> UnwindSafe for ModuleInfo<'a>
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