Struct show_image::event::WindowResizedEvent
source · [−]Expand description
A window was resized.
Fields
window_id: WindowId
The ID of the window.
size: UVec2
The new size of the window in physical pixels.
Trait Implementations
sourceimpl Clone for WindowResizedEvent
impl Clone for WindowResizedEvent
sourcefn clone(&self) -> WindowResizedEvent
fn clone(&self) -> WindowResizedEvent
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 WindowResizedEvent
impl Debug for WindowResizedEvent
sourceimpl From<WindowResizedEvent> for WindowEvent
impl From<WindowResizedEvent> for WindowEvent
sourcefn from(other: WindowResizedEvent) -> Self
fn from(other: WindowResizedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for WindowResizedEvent
impl Send for WindowResizedEvent
impl Sync for WindowResizedEvent
impl Unpin for WindowResizedEvent
impl UnwindSafe for WindowResizedEvent
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