Struct winsafe::msg::tbm::PressButton
source · pub struct PressButton {
pub cmd_id: u16,
pub press: bool,
}
Available on crate features
user
and comctl
only.Expand description
TB_PRESSBUTTON
message parameters.
Return type: SysResult<()>
.
Fields§
§cmd_id: u16
§press: bool
Trait Implementations§
source§impl MsgSend for PressButton
impl MsgSend for PressButton
§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 PressButton
impl RefUnwindSafe for PressButton
impl Send for PressButton
impl Sync for PressButton
impl Unpin for PressButton
impl UnwindSafe for PressButton
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