Struct livesplit_core::Time [] [src]

pub struct Time {
    pub real_time: Option<TimeSpan>,
    pub game_time: Option<TimeSpan>,
}

Fields

Methods

impl Time
[src]

Trait Implementations

impl Copy for Time
[src]

impl Clone for Time
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Time
[src]

Returns the "default value" for a type. Read more

impl Debug for Time
[src]

Formats the value using the given formatter.

impl Eq for Time
[src]

impl PartialEq for Time
[src]

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

This method tests for !=.

impl From<RealTime> for Time
[src]

Performs the conversion.

impl From<GameTime> for Time
[src]

Performs the conversion.

impl Add for Time
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for Time
[src]

The resulting type after applying the - operator

The method for the - operator

impl Index<TimingMethod> for Time
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl IndexMut<TimingMethod> for Time
[src]

The method for the mutable indexing (container[index]) operation