pub struct SetIcon<'a> {
pub icon: &'a HICON,
}
Available on crate features
user
and comctl
only.Expand description
STM_SETICON
message parameters.
Return type: SysResult<HICON>
.
Fields§
§icon: &'a HICON
Trait Implementations§
source§impl<'a> MsgSend for SetIcon<'a>
impl<'a> MsgSend for SetIcon<'a>
§type RetType = Result<HICON, ERROR>
type RetType = Result<HICON, ERROR>
Available on crate feature
user
only.The specific type of the value returned by the message.
source§fn convert_ret(&self, v: isize) -> Self::RetType
fn convert_ret(&self, v: isize) -> Self::RetType
Available on crate feature
user
only.Converts the generic
isize
return value to the specific type returned
by the message.source§fn as_generic_wm(&mut self) -> WndMsg
fn as_generic_wm(&mut self) -> WndMsg
Available on crate feature
user
only.Converts the specific message parameters struct into the generic
WndMsg
message struct.Auto Trait Implementations§
impl<'a> Freeze for SetIcon<'a>
impl<'a> RefUnwindSafe for SetIcon<'a>
impl<'a> !Send for SetIcon<'a>
impl<'a> !Sync for SetIcon<'a>
impl<'a> Unpin for SetIcon<'a>
impl<'a> UnwindSafe for SetIcon<'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