Trait user_Hicon

Source
pub trait user_Hicon: Handle {
    // Provided methods
    fn CopyIcon(&self) -> SysResult<DestroyIconGuard> { ... }
    fn GetIconInfo(&self) -> SysResult<ICONINFO> { ... }
    fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()> { ... }
}
Available on crate features kernel and user only.
Expand description

This trait is enabled with the user feature, and provides methods for HICON.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Source

fn CopyIcon(&self) -> SysResult<DestroyIconGuard>

CopyIcon function.

Source

fn GetIconInfo(&self) -> SysResult<ICONINFO>

GetIconInfo function.

Source

fn GetIconInfoEx(&self, icon_info: &mut ICONINFOEX) -> SysResult<()>

GetIconInfoEx function.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§