pub struct Blueprint {
id: u32,
max_ore: u32,
max_clay: u32,
max_obsidian: u32,
ore_cost: Mineral,
clay_cost: Mineral,
obsidian_cost: Mineral,
geode_cost: Mineral,
}Fields§
§id: u32§max_ore: u32§max_clay: u32§max_obsidian: u32§ore_cost: Mineral§clay_cost: Mineral§obsidian_cost: Mineral§geode_cost: MineralImplementations§
Auto Trait Implementations§
impl Freeze for Blueprint
impl RefUnwindSafe for Blueprint
impl Send for Blueprint
impl Sync for Blueprint
impl Unpin for Blueprint
impl UnwindSafe for Blueprint
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