pub struct SaveGameFarm {
pub name: String,
pub cash: i64,
pub loan: i64,
pub color: usize,
}Expand description
Data structure for a savegame farm
Fields§
§name: StringName of farm
cash: i64Cash on hand for farm
loan: i64Loan amount for farm
color: usizeColor index for farm (1-16)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaveGameFarm
impl RefUnwindSafe for SaveGameFarm
impl Send for SaveGameFarm
impl Sync for SaveGameFarm
impl Unpin for SaveGameFarm
impl UnwindSafe for SaveGameFarm
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