Struct WindowResizeEvent
pub struct WindowResizeEvent {
pub width: u32,
pub height: u32,
pub gui_width: u32,
pub gui_height: u32,
}Expand description
What Hooks::window_resize is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§width: u32§height: u32§gui_width: u32§gui_height: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowResizeEvent
impl RefUnwindSafe for WindowResizeEvent
impl Send for WindowResizeEvent
impl Sync for WindowResizeEvent
impl Unpin for WindowResizeEvent
impl UnsafeUnpin for WindowResizeEvent
impl UnwindSafe for WindowResizeEvent
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