Struct precision::Config [−][src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
impl Config
pub fn setup_duration(self, setup_duration: Duration) -> Self
[src]
pub fn setup_duration(self, setup_duration: Duration) -> Self
Sets the duration of the calibration, required to estimate the frequency of the hardware counter on Linux. Default is 5 seconds.
Trait Implementations
impl Clone for Config
[src]
impl Clone for Config
fn clone(&self) -> Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Config
[src]
impl Default for Config