pub struct TimeoutMsg {
pub id: i32,
}Expand description
TimeoutMsg is a message that is sent once when the timer times out.
It’s a convenience message sent alongside a TickMsg with the Timeout value set to true.
Fields§
§id: i32The ID of the timer that timed out.
Trait Implementations§
Source§impl Clone for TimeoutMsg
impl Clone for TimeoutMsg
Source§fn clone(&self) -> TimeoutMsg
fn clone(&self) -> TimeoutMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TimeoutMsg
impl RefUnwindSafe for TimeoutMsg
impl Send for TimeoutMsg
impl Sync for TimeoutMsg
impl Unpin for TimeoutMsg
impl UnsafeUnpin for TimeoutMsg
impl UnwindSafe for TimeoutMsg
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