pub enum Cursor {
Handle(HCURSOR),
Id(u16),
Idc(IDC),
None,
Str(WString),
}
Available on crate feature
gui
only.Expand description
The class cursor to be loaded for
WindowMainOpts
,
WindowModalOpts
or
WindowControlOpts
.
Variants§
Handle(HCURSOR)
A cursor handle, previously loaded by you.
Id(u16)
A resource ID.
Idc(IDC)
A co::IDC
constant for a stock system cursor.
None
No cursor.
Str(WString)
A resource string identifier.
Implementations§
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl !Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
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