Struct mist_run_utils::run::Run[][src]

pub struct Run { /* fields omitted */ }

Implementations

impl Run[src]

pub fn new(
    game_title: String,
    category: String,
    offset: Option<u128>,
    pb: u128,
    splits: Vec<String>,
    pb_times: Vec<u128>,
    gold_times: Vec<u128>
) -> Self
[src]

pub fn set_times(&mut self, splits: &Vec<u128>)[src]

pub fn get_times(&self) -> &Vec<u128>[src]

pub fn pb(&self) -> u128[src]

pub fn set_pb(&mut self, pb: u128)[src]

pub fn get_golds(&self) -> &Vec<u128>[src]

pub fn gold_time(&self, index: usize) -> u128[src]

pub fn set_gold_time(&mut self, index: usize, time: u128)[src]

pub fn offset(&self) -> Option<u128>[src]

pub fn split_names(&self) -> &Vec<String>[src]

pub fn set_name(&mut self, name: String, index: usize)[src]

pub fn set_time(&mut self, time: u128, index: usize)[src]

Trait Implementations

impl Debug for Run[src]

impl Default for Run[src]

create an empty run

Auto Trait Implementations

impl RefUnwindSafe for Run

impl Send for Run

impl Sync for Run

impl Unpin for Run

impl UnwindSafe for Run

Blanket Implementations

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

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

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

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

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

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.