Struct mist_run_utils::run::Run [−][src]
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]
game_title: String,
category: String,
offset: Option<u128>,
pb: u128,
splits: Vec<String>,
pb_times: Vec<u128>,
gold_times: Vec<u128>
) -> Self
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,