Struct tinyprof::ProfilerCounter
[−]
[src]
pub struct ProfilerCounter { pub name: String, pub time: f64, pub counters: Vec<ProfilerCounter>, pub active_counter: Option<usize>, }
Fields
name: String
time: f64
counters: Vec<ProfilerCounter>
active_counter: Option<usize>
Methods
impl ProfilerCounter
[src]
fn new(name: String) -> ProfilerCounter
fn active_counter(&mut self) -> &mut ProfilerCounter
fn parent_active_counter(&mut self) -> &mut ProfilerCounter
Trait Implementations
impl Clone for ProfilerCounter
[src]
fn clone(&self) -> ProfilerCounter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more