Struct r3_portkit::tickless::Measurement
source · Expand description
Result type of TicklessStateTrait::mark_reference_and_measure
.
Fields
end_hw_tick_count: u32
The hardware tick count at which the measurement ends.
This value is equal to (hw_tick_count + self.hw_ticks) % (cfg.
hw_max_tick_count
() + 1)
.
hw_ticks: u32
The number of hardware ticks in the measured interval.
Trait Implementations
sourceimpl Clone for Measurement
impl Clone for Measurement
sourcefn clone(&self) -> Measurement
fn clone(&self) -> Measurement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Measurement
impl Debug for Measurement
sourceimpl PartialEq<Measurement> for Measurement
impl PartialEq<Measurement> for Measurement
sourcefn eq(&self, other: &Measurement) -> bool
fn eq(&self, other: &Measurement) -> bool
impl Copy for Measurement
impl Eq for Measurement
impl StructuralEq for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnwindSafe for Measurement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more