[][src]Struct raw_window_handle::windows::WindowsHandle

pub struct WindowsHandle {
    pub hwnd: *mut c_void,
    pub hinstance: *mut c_void,
    // some fields omitted
}
This is supported on Windows only.

Raw window handle for Windows.

Construction

let handle = WindowsHandle {
    /* fields */
    ..WindowsHandle::empty()
};

Fields

hwnd: *mut c_void
This is supported on Windows only.

A Win32 HWND handle.

hinstance: *mut c_void
This is supported on Windows only.

The HINSTANCE associated with this type's HWND.

Methods

impl WindowsHandle[src]

pub fn empty() -> WindowsHandle[src]

This is supported on Windows only.

Trait Implementations

impl Debug for WindowsHandle[src]

impl PartialEq<WindowsHandle> for WindowsHandle[src]

impl Eq for WindowsHandle[src]

impl Hash for WindowsHandle[src]

impl Copy for WindowsHandle[src]

impl StructuralPartialEq for WindowsHandle[src]

impl StructuralEq for WindowsHandle[src]

impl Clone for WindowsHandle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]