pub struct SetCmdId {
pub btn_index: u32,
pub cmd_id: u16,
}
Available on crate features
user
and comctl
only.Expand description
TB_SETCMDID
message parameters.
Return type: SysResult<()>
.
Fields§
§btn_index: u32
§cmd_id: u16
Trait Implementations§
source§impl MsgSend for SetCmdId
impl MsgSend for SetCmdId
§type RetType = Result<(), ERROR>
type RetType = Result<(), 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 SetCmdId
impl RefUnwindSafe for SetCmdId
impl Send for SetCmdId
impl Sync for SetCmdId
impl Unpin for SetCmdId
impl UnwindSafe for SetCmdId
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