Struct winit::platform_impl::platform::wayland::window::shim::WindowCompositorUpdate
source · pub struct WindowCompositorUpdate {
pub size: Option<LogicalSize<u32>>,
pub scale_factor: Option<f64>,
pub close_window: bool,
}
Fields§
§size: Option<LogicalSize<u32>>
New window size.
scale_factor: Option<f64>
New scale factor.
close_window: bool
Close the window.
Implementations§
Trait Implementations§
source§impl Clone for WindowCompositorUpdate
impl Clone for WindowCompositorUpdate
source§fn clone(&self) -> WindowCompositorUpdate
fn clone(&self) -> WindowCompositorUpdate
Returns a copy 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 WindowCompositorUpdate
impl Debug for WindowCompositorUpdate
source§impl Default for WindowCompositorUpdate
impl Default for WindowCompositorUpdate
source§fn default() -> WindowCompositorUpdate
fn default() -> WindowCompositorUpdate
Returns the “default value” for a type. Read more
impl Copy for WindowCompositorUpdate
Auto Trait Implementations§
impl RefUnwindSafe for WindowCompositorUpdate
impl Send for WindowCompositorUpdate
impl Sync for WindowCompositorUpdate
impl Unpin for WindowCompositorUpdate
impl UnwindSafe for WindowCompositorUpdate
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