pub struct MarketDescription {
pub threshold: f32,
pub quotas: Vec<(u32, f32)>,
}Expand description
MarketDescription: vendors stop while the market is fuller than threshold; the categories (raw-material
flags) and each one’s share of the market’s room.
Original: FUN_14004f510.
Fields§
§threshold: f32How full the market may be before vendors stop.
quotas: Vec<(u32, f32)>Each category’s raw-material flags and share of the market’s room.
Trait Implementations§
Source§impl Clone for MarketDescription
impl Clone for MarketDescription
Source§fn clone(&self) -> MarketDescription
fn clone(&self) -> MarketDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketDescription
impl Debug for MarketDescription
Source§impl Default for MarketDescription
impl Default for MarketDescription
Source§fn default() -> MarketDescription
fn default() -> MarketDescription
Returns the “default value” for a type. Read more
Source§impl PartialEq for MarketDescription
impl PartialEq for MarketDescription
impl StructuralPartialEq for MarketDescription
Auto Trait Implementations§
impl Freeze for MarketDescription
impl RefUnwindSafe for MarketDescription
impl Send for MarketDescription
impl Sync for MarketDescription
impl Unpin for MarketDescription
impl UnsafeUnpin for MarketDescription
impl UnwindSafe for MarketDescription
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