pub struct TimerStruct {
pub duration: u32,
pub hours: u32,
pub minutes: u32,
pub seconds: u32,
}Fields§
§duration: u32§hours: u32§minutes: u32§seconds: u32Implementations§
Source§impl TimerStruct
impl TimerStruct
Trait Implementations§
Source§impl Clone for TimerStruct
impl Clone for TimerStruct
Source§fn clone(&self) -> TimerStruct
fn clone(&self) -> TimerStruct
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerStruct
impl Debug for TimerStruct
impl Copy for TimerStruct
Auto Trait Implementations§
impl Freeze for TimerStruct
impl RefUnwindSafe for TimerStruct
impl Send for TimerStruct
impl Sync for TimerStruct
impl Unpin for TimerStruct
impl UnwindSafe for TimerStruct
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