Struct show_image::event::WindowCloseRequestedEvent
source · [−]pub struct WindowCloseRequestedEvent {
pub window_id: WindowId,
}
Expand description
A window was closed.
Fields
window_id: WindowId
The ID of the window.
Trait Implementations
sourceimpl Clone for WindowCloseRequestedEvent
impl Clone for WindowCloseRequestedEvent
sourcefn clone(&self) -> WindowCloseRequestedEvent
fn clone(&self) -> WindowCloseRequestedEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowCloseRequestedEvent
impl Debug for WindowCloseRequestedEvent
sourceimpl From<WindowCloseRequestedEvent> for WindowEvent
impl From<WindowCloseRequestedEvent> for WindowEvent
sourcefn from(other: WindowCloseRequestedEvent) -> Self
fn from(other: WindowCloseRequestedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for WindowCloseRequestedEvent
impl Send for WindowCloseRequestedEvent
impl Sync for WindowCloseRequestedEvent
impl Unpin for WindowCloseRequestedEvent
impl UnwindSafe for WindowCloseRequestedEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more