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