Struct winsafe::msg::tbm::CommandToIndex
source · pub struct CommandToIndex {
pub btn_cmd_id: u16,
}
Available on crate features
user
and comctl
only.Expand description
TB_COMMANDTOINDEX
message parameters.
Return type: Option<u32>
.
Fields§
§btn_cmd_id: u16
Trait Implementations§
source§impl MsgSend for CommandToIndex
impl MsgSend for CommandToIndex
§type RetType = Option<u32>
type RetType = Option<u32>
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 CommandToIndex
impl RefUnwindSafe for CommandToIndex
impl Send for CommandToIndex
impl Sync for CommandToIndex
impl Unpin for CommandToIndex
impl UnwindSafe for CommandToIndex
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