[][src]Struct mc_sim::sim::SimulationGoals

pub struct SimulationGoals {
    pub streams: Vec<Vec<RunGoals>>,
}

The goals of a simulation of speed run streams.

Fields

streams: Vec<Vec<RunGoals>>

Implementations

impl SimulationGoals[src]

pub fn new(streams: Vec<Vec<RunGoals>>) -> Self[src]

Create simulation goals from a list of streams.

pub fn new_repeat_streams(streams: u64, run_goals: Vec<RunGoals>) -> Self[src]

Create simulation goals for a number of streams that repeat a set of runs a specific number of times.

pub fn into_streams(self) -> Vec<Vec<RunGoals>>[src]

Consume the simulation goals and get out all of the streams run goal lists.

Trait Implementations

impl Clone for SimulationGoals[src]

impl Debug for SimulationGoals[src]

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

impl Serialize for SimulationGoals[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,