[][src]Enum livesplit_core::TimingMethod

#[repr(u8)]
pub enum TimingMethod { RealTime, GameTime, }

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

Variants

RealTime

Real Time is the unmodified timing that is as close to an atomic clock as possible.

GameTime

Game Time describes the timing that is provided by the game that is being run. This is entirely optional and may either be Real Time with loading times removed or some time provided by the game.

Methods

impl TimingMethod[src]

pub fn all() -> [TimingMethod; 2][src]

Returns an array of all the timing methods.

Trait Implementations

impl Clone for TimingMethod[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for TimingMethod[src]

impl Copy for TimingMethod[src]

impl PartialEq<TimingMethod> for TimingMethod[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for TimingMethod[src]

impl Index<TimingMethod> for Time[src]

type Output = Option<TimeSpan>

The returned type after indexing.

impl IndexMut<TimingMethod> for Time[src]

impl Serialize for TimingMethod[src]

impl<'de> Deserialize<'de> for TimingMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]