[][src]Module livesplit_core::timing

The timing module provides everything necessary for working with times and measuring them.

Modules

formatter

The formatter module provides different Time Formatters that can be used to format optional Time Spans in various ways.

Structs

AtomicDateTime

An Atomic Date Time represents a UTC Date Time that tries to be as close to an atomic clock as possible.

GameTime

Represents a Time Span intended to be used as a Game Time.

RealTime

Represents a Time Span intended to be used as a Real Time.

Time

A time that can store a Real Time and a Game Time. Both of them are optional.

TimeSpan

A Time Span represents a certain span of time.

TimeStamp

A Time Stamp stores a point in time, that can be used to calculate Time Spans.

Timer

A Timer provides all the capabilities necessary for doing speedrun attempts.

Enums

ParseError

The Error type for Time Spans that couldn't be parsed.

TimerCreationError

The Error type for creating a new Timer from a Run.

TimerPhase

Describes which phase the timer is currently in. This tells you if there's an active speedrun attempt and whether it is paused or it ended.

TimingMethod

A Timing Method describes which form of timing is used. This can either be Real Time or Game Time.

Type Definitions

SharedTimer

A Shared Timer is a wrapper around the Timer that can be shared across multiple threads with multiple owners.