pub struct WindowHandle { /* private fields */ }Expand description
不透明的窗口句柄:业务与组件永远不接触 HWND/XID/NSWindow*。
包含尺寸与 scale(HiDPI),因为它们是平台无关的事实;
底层句柄只供后端自己解包(而不是业务层)。
Implementations§
Trait Implementations§
Source§impl Clone for WindowHandle
impl Clone for WindowHandle
impl Copy for WindowHandle
Auto Trait Implementations§
impl !Send for WindowHandle
impl !Sync for WindowHandle
impl Forget for WindowHandle
impl Freeze for WindowHandle
impl Move for WindowHandle
impl RefUnwindSafe for WindowHandle
impl Unpin for WindowHandle
impl UnsafeUnpin for WindowHandle
impl UnwindSafe for WindowHandle
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