pub enum IconRes<'a> {
None,
Res(&'a HINSTANCE, IdStr),
Warn,
Error,
Info,
Shield,
}
Available on crate feature
comctl
only.Expand description
Variant parameter for:
Variants§
None
No icon.
Res(&'a HINSTANCE, IdStr)
Handle to the instance to load the icon from, and the icon resource identifier.
Warn
The co::TD_ICON::WARNING
constant.
Error
The co::TD_ICON::ERROR
constant.
Info
The co::TD_ICON::INFORMATION
constant.
Shield
The co::TD_ICON::SHIELD
constant.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for IconRes<'a>
impl<'a> RefUnwindSafe for IconRes<'a>
impl<'a> !Send for IconRes<'a>
impl<'a> !Sync for IconRes<'a>
impl<'a> Unpin for IconRes<'a>
impl<'a> UnwindSafe for IconRes<'a>
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