pub struct NationResources {
pub nation: String,
pub money: f64,
pub production: f64,
pub minerals: f64,
pub uranium: f64,
pub rare_metals: f64,
pub fuel: f64,
pub political_power: f64,
}Expand description
Struct for the output of different resources of your nation
Fields§
§nation: String§money: f64§production: f64§minerals: f64§uranium: f64§rare_metals: f64§fuel: f64§political_power: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for NationResources
impl RefUnwindSafe for NationResources
impl Send for NationResources
impl Sync for NationResources
impl Unpin for NationResources
impl UnwindSafe for NationResources
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