Trait winsafe::prelude::user_Hcursor
source · pub trait user_Hcursor: Handle {
// Provided methods
fn CopyCursor(&self) -> SysResult<DestroyCursorGuard> { ... }
fn GetCursor() -> Option<HCURSOR> { ... }
fn SetSystemCursor(&self, id: OCR) -> SysResult<()> { ... }
}
Available on crate features
kernel
and user
only.Expand description
This trait is enabled with the user
feature, and provides methods for
HCURSOR
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn CopyCursor(&self) -> SysResult<DestroyCursorGuard>
fn CopyCursor(&self) -> SysResult<DestroyCursorGuard>
CopyCursor
macro.
sourcefn SetSystemCursor(&self, id: OCR) -> SysResult<()>
fn SetSystemCursor(&self, id: OCR) -> SysResult<()>
SetSystemCursor
function.
Object Safety§
This trait is not object safe.