pub struct WindowResizedEvent {
pub window_id: WindowId,
pub size: UVec2,
}Expand description
A window was resized.
Fields§
§window_id: WindowIdThe ID of the window.
size: UVec2The new size of the window in physical pixels.
Trait Implementations§
Source§impl Clone for WindowResizedEvent
impl Clone for WindowResizedEvent
Source§fn clone(&self) -> WindowResizedEvent
fn clone(&self) -> WindowResizedEvent
Returns a duplicate 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 WindowResizedEvent
impl Debug for WindowResizedEvent
Source§impl From<WindowResizedEvent> for WindowEvent
impl From<WindowResizedEvent> for WindowEvent
Source§fn from(other: WindowResizedEvent) -> Self
fn from(other: WindowResizedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowResizedEvent
impl RefUnwindSafe for WindowResizedEvent
impl Send for WindowResizedEvent
impl Sync for WindowResizedEvent
impl Unpin for WindowResizedEvent
impl UnwindSafe for WindowResizedEvent
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