pub struct InstantU32(/* private fields */);
Expand description
An instant of time, encoding the RTC instant value exactly as the RTC peripheral does.
Trait Implementations§
Source§impl Add<DurationU32> for InstantU32
impl Add<DurationU32> for InstantU32
Source§type Output = InstantU32
type Output = InstantU32
The resulting type after applying the
+
operator.Source§impl AddAssign<DurationU32> for InstantU32
impl AddAssign<DurationU32> for InstantU32
Source§fn add_assign(&mut self, duration: DurationU32)
fn add_assign(&mut self, duration: DurationU32)
Performs the
+=
operation. Read moreSource§impl Clone for InstantU32
impl Clone for InstantU32
Source§fn clone(&self) -> InstantU32
fn clone(&self) -> InstantU32
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InstantU32
impl Debug for InstantU32
Source§impl Ord for InstantU32
impl Ord for InstantU32
Source§fn cmp(&self, other: &InstantU32) -> Ordering
fn cmp(&self, other: &InstantU32) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstantU32
impl PartialEq for InstantU32
Source§impl PartialOrd for InstantU32
impl PartialOrd for InstantU32
impl Copy for InstantU32
impl Eq for InstantU32
impl StructuralPartialEq for InstantU32
Auto Trait Implementations§
impl Freeze for InstantU32
impl RefUnwindSafe for InstantU32
impl Send for InstantU32
impl Sync for InstantU32
impl Unpin for InstantU32
impl UnwindSafe for InstantU32
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