Struct winsafe::msg::dtm::SetMcColor
source · pub struct SetMcColor {
pub color_index: MCSC,
pub color: COLORREF,
}
Available on crate features
user
and comctl
only.Expand description
DTM_SETMCCOLOR
message parameters.
Return type: SysResult<COLORREF>
.
Fields§
§color_index: MCSC
§color: COLORREF
Trait Implementations§
source§impl MsgSend for SetMcColor
impl MsgSend for SetMcColor
§type RetType = Result<COLORREF, ERROR>
type RetType = Result<COLORREF, 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 Freeze for SetMcColor
impl RefUnwindSafe for SetMcColor
impl Send for SetMcColor
impl Sync for SetMcColor
impl Unpin for SetMcColor
impl UnwindSafe for SetMcColor
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