#[repr(C)]pub struct WNDCLASS {
pub style: u32,
pub lpfnWndProc: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> isize>,
pub cbClsExtra: i32,
pub cbWndExtra: i32,
pub hInstance: *mut c_void,
pub hIcon: *mut c_void,
pub hCursor: *mut c_void,
pub hbrBackground: *mut c_void,
pub lpszMenuName: *const u16,
pub lpszClassName: *const u16,
}Expand description
C.40 WNDCLASS
contains information about a window class
Fields§
§style: u32§lpfnWndProc: Option<unsafe extern "system" fn(*mut c_void, u32, usize, isize) -> isize>§cbClsExtra: i32§cbWndExtra: i32§hInstance: *mut c_void§hIcon: *mut c_void§hCursor: *mut c_void§hbrBackground: *mut c_void§lpszMenuName: *const u16§lpszClassName: *const u16Trait Implementations§
impl Copy for WNDCLASSW
Auto Trait Implementations§
impl Freeze for WNDCLASSW
impl RefUnwindSafe for WNDCLASSW
impl !Send for WNDCLASSW
impl !Sync for WNDCLASSW
impl Unpin for WNDCLASSW
impl UnwindSafe for WNDCLASSW
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