#[repr(C)]pub struct sh2_StepCounter {
pub latency: u32,
pub steps: u16,
}Expand description
@brief StepCounter
See the SH-2 Reference Manual for more detail.
Fields§
§latency: u32< @brief Step counter latency [uS].
steps: u16< @brief Steps counted.
Trait Implementations§
Source§impl Clone for sh2_StepCounter
impl Clone for sh2_StepCounter
Source§fn clone(&self) -> sh2_StepCounter
fn clone(&self) -> sh2_StepCounter
Returns a duplicate 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 sh2_StepCounter
impl Debug for sh2_StepCounter
impl Copy for sh2_StepCounter
Auto Trait Implementations§
impl Freeze for sh2_StepCounter
impl RefUnwindSafe for sh2_StepCounter
impl Send for sh2_StepCounter
impl Sync for sh2_StepCounter
impl Unpin for sh2_StepCounter
impl UnwindSafe for sh2_StepCounter
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