Struct ambient_api::core::messages::ModuleUnload
source · pub struct ModuleUnload;
Expand description
ModuleUnload: Sent to a module when it unloads.
Implementations§
source§impl ModuleUnload
impl ModuleUnload
pub fn new() -> ModuleUnload
Trait Implementations§
source§impl Clone for ModuleUnload
impl Clone for ModuleUnload
source§fn clone(&self) -> ModuleUnload
fn clone(&self) -> ModuleUnload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModuleUnload
impl Debug for ModuleUnload
source§impl Default for ModuleUnload
impl Default for ModuleUnload
source§fn default() -> ModuleUnload
fn default() -> ModuleUnload
Returns the “default value” for a type. Read more
source§impl RuntimeMessage for ModuleUnload
impl RuntimeMessage for ModuleUnload
source§fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for ModuleUnload
Auto Trait Implementations§
impl RefUnwindSafe for ModuleUnload
impl Send for ModuleUnload
impl Sync for ModuleUnload
impl Unpin for ModuleUnload
impl UnwindSafe for ModuleUnload
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.