Struct livesplit_core::Attempt
[−]
[src]
pub struct Attempt { /* fields omitted */ }
Methods
impl Attempt
[src]
fn new(
index: i32,
time: Time,
started: Option<AtomicDateTime>,
ended: Option<AtomicDateTime>,
pause_time: Option<TimeSpan>
) -> Self
[src]
index: i32,
time: Time,
started: Option<AtomicDateTime>,
ended: Option<AtomicDateTime>,
pause_time: Option<TimeSpan>
) -> Self
fn duration(&self) -> Option<TimeSpan>
[src]
Returns the Real Time Duration of the attempt. This either returns a 1.6+ Time Stamp based duration or the duration of the run (assuming it's not resetted) if it's from before LiveSplit 1.6. If it is from before 1.6 and resetted then it will return null.
fn index(&self) -> i32
[src]
fn time(&self) -> Time
[src]
fn pause_time(&self) -> Option<TimeSpan>
[src]
fn started(&self) -> Option<AtomicDateTime>
[src]
fn ended(&self) -> Option<AtomicDateTime>
[src]
Trait Implementations
impl Clone for Attempt
[src]
fn clone(&self) -> Attempt
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more