Struct ambient_api::core::messages::WindowClose
source · pub struct WindowClose;
Expand description
WindowClose: Sent when the window is closed.
Implementations§
source§impl WindowClose
impl WindowClose
pub fn new() -> WindowClose
Trait Implementations§
source§impl Clone for WindowClose
impl Clone for WindowClose
source§fn clone(&self) -> WindowClose
fn clone(&self) -> WindowClose
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 WindowClose
impl Debug for WindowClose
source§impl Default for WindowClose
impl Default for WindowClose
source§fn default() -> WindowClose
fn default() -> WindowClose
Returns the “default value” for a type. Read more
source§impl RuntimeMessage for WindowClose
impl RuntimeMessage for WindowClose
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 WindowClose
Auto Trait Implementations§
impl RefUnwindSafe for WindowClose
impl Send for WindowClose
impl Sync for WindowClose
impl Unpin for WindowClose
impl UnwindSafe for WindowClose
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.