[][src]Struct mc_sim::run::RunGoals

pub struct RunGoals {
    pub target_pearls: u32,
    pub target_rods: u32,
}

The goals of a run simulation. This represents the minimum resources a runner is looking for out of this run before moving on. E.G. total_pearls is the number of ender pearls the runner wants before they stop trading with piglins.

This does not take into account ideas like "batches" of trades, where a runner might choose to leave before reaching their goal because the run won't pb if they have to trade any more and they just hope that they get good portal luck.

Ideas like this are not in scope for this simulation and can be accounted for in the analysis of the data.

Fields

target_pearls: u32target_rods: u32

Trait Implementations

impl Clone for RunGoals[src]

impl Copy for RunGoals[src]

impl Debug for RunGoals[src]

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

impl Serialize for RunGoals[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>,