Struct easytiming::Timing
[−]
[src]
pub struct Timing<'a, W = Stdout> where
W: Write, { /* fields omitted */ }
Methods
impl<'a, W> Timing<'a, W> where
W: Write,
[src]
W: Write,
fn new<N>(name: N) -> Self where
N: Into<Cow<'a, str>>,
[src]
N: Into<Cow<'a, str>>,
fn quiet() -> Self
[src]
fn with_writer<N>(name: N, writer: W) -> Self where
N: Into<Cow<'a, str>>,
[src]
N: Into<Cow<'a, str>>,
Trait Implementations
impl<'a, W: Debug> Debug for Timing<'a, W> where
W: Write,
[src]
W: Write,
impl<'a, W> Default for Timing<'a, W> where
W: Write,
[src]
W: Write,
impl<'a, W> Display for Timing<'a, W> where
W: Write,
[src]
W: Write,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, W> Drop for Timing<'a, W> where
W: Write,
[src]
W: Write,