pub struct SetIcon {
pub size: ICON_SZ,
pub hicon: HICON,
}
Available on crate feature
user
only.Expand description
WM_SETICON
message parameters.
Return type: Option<HICON>
.
Fields§
§size: ICON_SZ
§hicon: HICON
Trait Implementations§
source§impl MsgSend for SetIcon
impl MsgSend for SetIcon
source§fn convert_ret(&self, v: isize) -> Self::RetType
fn convert_ret(&self, v: isize) -> Self::RetType
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
Converts the specific message parameters struct into the generic
WndMsg
message struct.source§impl MsgSendRecv for SetIcon
impl MsgSendRecv for SetIcon
source§fn from_generic_wm(p: WndMsg) -> Self
fn from_generic_wm(p: WndMsg) -> Self
Converts the generic
WndMsg
parameters struct
into the specific message struct.Auto Trait Implementations§
impl Freeze for SetIcon
impl RefUnwindSafe for SetIcon
impl Send for SetIcon
impl !Sync for SetIcon
impl Unpin for SetIcon
impl UnwindSafe for SetIcon
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