pub struct HICON(/* private fields */);
Available on crate feature
user
only.Expand description
Handle to an icon.
Trait Implementations§
Source§impl Handle for HICON
impl Handle for HICON
Source§const NULL: Self
const NULL: Self
Available on crate feature
kernel
only.The null, uninitialized handle; equals to
0
.Source§const INVALID: Self
const INVALID: Self
Available on crate feature
kernel
only.The invalid handle; equals to
-1
. Read moreSource§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
kernel
only.Creates a new handle object by wrapping a pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
kernel
only.Returns a mutable reference to the underlying raw pointer. Read more
Source§unsafe fn raw_copy(&self) -> Self
unsafe fn raw_copy(&self) -> Self
Available on crate feature
kernel
only.Returns a raw copy of the underlying handle pointer. Read more
Source§impl user_Hicon for HICON
impl user_Hicon for HICON
Source§fn GetIconInfo(&self) -> SysResult<ICONINFO>
fn GetIconInfo(&self) -> SysResult<ICONINFO>
GetIconInfo
function.Source§fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()>
fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()>
GetIconInfoEx
function.impl Eq for HICON
impl Send for HICON
impl StructuralPartialEq for HICON
Auto Trait Implementations§
impl Freeze for HICON
impl RefUnwindSafe for HICON
impl !Sync for HICON
impl Unpin for HICON
impl UnwindSafe for HICON
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