pub struct Timer {
pub timer_id: usize,
pub timer_proc: Option<TIMERPROC>,
}
Available on crate feature
user
only.Expand description
WM_TIMER
message parameters.
Return type: ()
.
Fields§
§timer_id: usize
§timer_proc: Option<TIMERPROC>
Trait Implementations§
source§impl MsgSend for Timer
impl MsgSend for Timer
source§fn convert_ret(&self, _: isize) -> Self::RetType
fn convert_ret(&self, _: 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 Timer
impl MsgSendRecv for Timer
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 Timer
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
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