pub struct HCURSOR(/* private fields */);
Available on crate feature
user
only.Expand description
Handle to a cursor.
Trait Implementations§
source§impl Handle for HCURSOR
impl Handle for HCURSOR
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 PartialEq for HCURSOR
impl PartialEq for HCURSOR
source§impl user_Hcursor for HCURSOR
impl user_Hcursor for HCURSOR
source§fn CopyCursor(&self) -> SysResult<DestroyCursorGuard>
fn CopyCursor(&self) -> SysResult<DestroyCursorGuard>
CopyCursor
macro.source§fn SetSystemCursor(&self, id: OCR) -> SysResult<()>
fn SetSystemCursor(&self, id: OCR) -> SysResult<()>
SetSystemCursor
function.impl Eq for HCURSOR
impl Send for HCURSOR
impl StructuralPartialEq for HCURSOR
Auto Trait Implementations§
impl Freeze for HCURSOR
impl RefUnwindSafe for HCURSOR
impl !Sync for HCURSOR
impl Unpin for HCURSOR
impl UnwindSafe for HCURSOR
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