Struct ctru_sys::TickCounter
source · #[repr(C)]pub struct TickCounter {
pub elapsed: u64_,
pub reference: u64_,
}
Expand description
Tick counter.
Fields§
§elapsed: u64_
< Elapsed CPU ticks between measurements.
reference: u64_
< Point in time used as reference.
Trait Implementations§
source§impl Clone for TickCounter
impl Clone for TickCounter
source§fn clone(&self) -> TickCounter
fn clone(&self) -> TickCounter
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TickCounter
impl Debug for TickCounter
source§impl Default for TickCounter
impl Default for TickCounter
source§fn default() -> TickCounter
fn default() -> TickCounter
Returns the “default value” for a type. Read more