pub struct ModuleEvents {
pub info: Option<Box<dyn FnMut(&ModuleInfo<'_>) + Send>>,
}Expand description
Module events that can be subscribed to.
Fields§
§info: Option<Box<dyn FnMut(&ModuleInfo<'_>) + Send>>Module information became available, or changed.
Trait Implementations§
Source§impl Default for ModuleEvents
impl Default for ModuleEvents
Source§fn default() -> ModuleEvents
fn default() -> ModuleEvents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleEvents
impl !RefUnwindSafe for ModuleEvents
impl Send for ModuleEvents
impl !Sync for ModuleEvents
impl Unpin for ModuleEvents
impl !UnwindSafe for ModuleEvents
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