pub struct ClockTime {
pub seconds_of_day: f64,
}Expand description
Time-of-day input to the clock.
Sub-second precision via fractional seconds; the driver supplies absolute time so missed ticks don’t accumulate drift.
Fields§
§seconds_of_day: f64Seconds since midnight, fractional. May exceed 86400; the angle derivation reduces modulo each hand’s period.
Implementations§
Trait Implementations§
impl Copy for ClockTime
impl StructuralPartialEq for ClockTime
Auto Trait Implementations§
impl Freeze for ClockTime
impl RefUnwindSafe for ClockTime
impl Send for ClockTime
impl Sync for ClockTime
impl Unpin for ClockTime
impl UnsafeUnpin for ClockTime
impl UnwindSafe for ClockTime
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