pub struct ShellWindow {
pub id: u32,
pub title: String,
pub width: u32,
pub height: u32,
}Expand description
A handle to a created native window.
Obtain a ShellWindow by calling create_window.
Fields§
§id: u32Unique identifier for the window.
title: StringThe current window title.
width: u32The current window width in pixels.
height: u32The current window height in pixels.
Implementations§
Trait Implementations§
Source§impl Clone for ShellWindow
impl Clone for ShellWindow
Source§fn clone(&self) -> ShellWindow
fn clone(&self) -> ShellWindow
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 moreAuto Trait Implementations§
impl Freeze for ShellWindow
impl RefUnwindSafe for ShellWindow
impl Send for ShellWindow
impl Sync for ShellWindow
impl Unpin for ShellWindow
impl UnsafeUnpin for ShellWindow
impl UnwindSafe for ShellWindow
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