pub struct Building {
pub building_type: BuildingType,
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub stories: u8,
}Expand description
A building in a settlement.
Fields§
§building_type: BuildingType§x: f32§y: f32§width: f32§height: f32§stories: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for Building
impl RefUnwindSafe for Building
impl Send for Building
impl Sync for Building
impl Unpin for Building
impl UnsafeUnpin for Building
impl UnwindSafe for Building
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