pub struct ResizeDimensions {
pub width: f32,
pub height: f32,
}Expand description
Data from a window or widget resize event.
Fields§
§width: f32Width in pixels.
height: f32Height in pixels.
Trait Implementations§
Source§impl Clone for ResizeDimensions
impl Clone for ResizeDimensions
Source§fn clone(&self) -> ResizeDimensions
fn clone(&self) -> ResizeDimensions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResizeDimensions
impl Debug for ResizeDimensions
impl Copy for ResizeDimensions
Auto Trait Implementations§
impl Freeze for ResizeDimensions
impl RefUnwindSafe for ResizeDimensions
impl Send for ResizeDimensions
impl Sync for ResizeDimensions
impl Unpin for ResizeDimensions
impl UnsafeUnpin for ResizeDimensions
impl UnwindSafe for ResizeDimensions
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