#[repr(C)]pub struct DRAWITEMSTRUCT {
pub CtlType: u32,
pub CtlID: u32,
pub itemID: u32,
pub itemAction: u32,
pub itemState: u32,
pub hwndItem: *mut c_void,
pub hDC: *mut c_void,
pub rcItem: RECT,
pub itemData: usize,
}Expand description
C.13 DRAWITEMSTRUCT
contains information that the control’s owner needs to determine how to paint an owner-drawn control
Fields§
§CtlType: u32§CtlID: u32§itemID: u32§itemAction: u32§itemState: u32§hwndItem: *mut c_void§hDC: *mut c_void§rcItem: RECT§itemData: usizeTrait Implementations§
Source§impl Clone for DRAWITEMSTRUCT
impl Clone for DRAWITEMSTRUCT
Source§fn clone(&self) -> DRAWITEMSTRUCT
fn clone(&self) -> DRAWITEMSTRUCT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DRAWITEMSTRUCT
Available on crate feature Win32_Graphics_Gdi only.
impl Default for DRAWITEMSTRUCT
Available on crate feature
Win32_Graphics_Gdi only.Source§fn default() -> DRAWITEMSTRUCT
fn default() -> DRAWITEMSTRUCT
Returns the “default value” for a type. Read more
impl Copy for DRAWITEMSTRUCT
Auto Trait Implementations§
impl Freeze for DRAWITEMSTRUCT
impl RefUnwindSafe for DRAWITEMSTRUCT
impl !Send for DRAWITEMSTRUCT
impl !Sync for DRAWITEMSTRUCT
impl Unpin for DRAWITEMSTRUCT
impl UnwindSafe for DRAWITEMSTRUCT
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