pub struct Time32 { /* private fields */ }Expand description
32 Bit Fixed Precision Time Format, storing 16 bits of Seconds, and 16 bits
of Fractional Seconds. This is the equivalent of Q16.16, and is semantically
equivalent to the NTP Short Format if using the epoch::NTP_EPOCH.
The 16-bit seconds field can resolve a little over 18 hours, and the 16-bit fractional seconds field can resolve a little over 15 microseconds.
Implementations§
Trait Implementations§
source§impl PartialEq for Time32
impl PartialEq for Time32
source§impl PartialOrd for Time32
impl PartialOrd for Time32
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Time32
impl StructuralPartialEq for Time32
Auto Trait Implementations§
impl RefUnwindSafe for Time32
impl Send for Time32
impl Sync for Time32
impl Unpin for Time32
impl UnwindSafe for Time32
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