pub struct ResizedEvent { /* private fields */ }Expand description
See Event::Resized
Implementations§
Source§impl ResizedEvent
impl ResizedEvent
Sourcepub fn logical_size(&self) -> Vector2<f32>
pub fn logical_size(&self) -> Vector2<f32>
The new logical size of the window, taking into account DPI
Trait Implementations§
Source§impl Clone for ResizedEvent
impl Clone for ResizedEvent
Source§fn clone(&self) -> ResizedEvent
fn clone(&self) -> ResizedEvent
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 moreAuto Trait Implementations§
impl Freeze for ResizedEvent
impl RefUnwindSafe for ResizedEvent
impl Send for ResizedEvent
impl Sync for ResizedEvent
impl Unpin for ResizedEvent
impl UnwindSafe for ResizedEvent
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