pub struct Catalog {
pub version: u32,
pub mode: &'static str,
pub world: World,
pub economy: Economy,
pub rules: Rules,
pub pools: Vec<PoolEntry>,
pub facilities: Vec<FacilityEntry>,
}Expand description
Every price, size and build rule of one mode.
Fields§
§version: u32§mode: &'static strThe mode the values are resolved for: classic or modern.
world: WorldThe lot and floor limits.
economy: EconomyMoney figures a UI shows.
rules: RulesThe mode’s rules a UI shows.
pools: Vec<PoolEntry>The caps several kinds share, in the engine’s order.
facilities: Vec<FacilityEntry>One entry per facility kind, in the engine’s catalog order, the
kinds this mode cannot build included (available: false).
Trait Implementations§
impl StructuralPartialEq for Catalog
Auto Trait Implementations§
impl Freeze for Catalog
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnsafeUnpin for Catalog
impl UnwindSafe for Catalog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more