pub struct NativeWindow {
pub caps: GpuCaps,
pub size: (i32, i32),
}Expand description
the Linux form of the handles lib/gpu gets for a window (Windows: HWND, HINSTANCE)
Fields§
§caps: GpuCaps§size: (i32, i32)Trait Implementations§
Source§impl Clone for NativeWindow
impl Clone for NativeWindow
Auto Trait Implementations§
impl Forget for NativeWindow
impl Freeze for NativeWindow
impl RefUnwindSafe for NativeWindow
impl Send for NativeWindow
impl Sync for NativeWindow
impl Unpin for NativeWindow
impl UnsafeUnpin for NativeWindow
impl UnwindSafe for NativeWindow
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