Struct three::Timer [] [src]

pub struct Timer { /* fields omitted */ }

Timer can be used to find the time difference between the moment of timer creation and the moment of calling elapsed.

Methods

impl Timer
[src]

[src]

Create new timer based on current system time.

[src]

Reset time of creation to current time.

[src]

Get period of time since timer creation in seconds.

Trait Implementations

impl Clone for Timer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Timer
[src]

impl Debug for Timer
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Timer
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Timer

impl Sync for Timer