pub type BootDurationTicks = Duration<BootTimeline, TicksUnit>;
Expand description
A duration between two system ticks boot timestamps.
Aliased Type§
struct BootDurationTicks(/* private fields */);
Implementations
Trait Implementations
Source§impl<T: Timeline, U: TimeUnit> AddAssign for Duration<T, U>
impl<T: Timeline, U: TimeUnit> AddAssign for Duration<T, U>
Source§fn add_assign(&mut self, rhs: Duration<T, U>)
fn add_assign(&mut self, rhs: Duration<T, U>)
Performs the
+=
operation. Read moreSource§impl<T, U> FromBytes for Duration<T, U>
impl<T, U> FromBytes for Duration<T, U>
Source§impl<T, U> IntoBytes for Duration<T, U>
impl<T, U> IntoBytes for Duration<T, U>
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl<T: Ord, U: Ord> Ord for Duration<T, U>
impl<T: Ord, U: Ord> Ord for Duration<T, U>
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<T: PartialOrd, U: PartialOrd> PartialOrd for Duration<T, U>
impl<T: PartialOrd, U: PartialOrd> PartialOrd for Duration<T, U>
Source§impl<T: Timeline, U: TimeUnit> SubAssign for Duration<T, U>
impl<T: Timeline, U: TimeUnit> SubAssign for Duration<T, U>
Source§fn sub_assign(&mut self, rhs: Duration<T, U>)
fn sub_assign(&mut self, rhs: Duration<T, U>)
Performs the
-=
operation. Read more