pub struct DurationU32(/* private fields */);
Expand description
A segment of time, encoding a duration in such a manner that it compares and adds to a RTC instant efficiently.
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 DurationU32
impl Clone for DurationU32
Source§fn clone(&self) -> DurationU32
fn clone(&self) -> DurationU32
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 moreAuto Trait Implementations§
impl Freeze for DurationU32
impl RefUnwindSafe for DurationU32
impl Send for DurationU32
impl Sync for DurationU32
impl Unpin for DurationU32
impl UnwindSafe for DurationU32
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