pub struct HappinessDescription {
pub kind: i32,
pub needs_workers: bool,
pub needs_stock: bool,
pub mask: u32,
pub pad: i32,
}Expand description
HappinessDescription.
Original: FUN_14004b610.
Fields§
§kind: i32The kind, which picks the map layer (0 well, 1 market and trading post, 2 tavern, 3 chapel and cemetery, 4 doctor, 5 the unhappy mines and quarry).
needs_workers: boolOnly while someone works there.
needs_stock: boolOnly while the storage holds goods matching mask, one consumed per visit.
mask: u32Raw-material flags.
pad: i32Cells around the building a loitering citizen stands in.
Trait Implementations§
Source§impl Clone for HappinessDescription
impl Clone for HappinessDescription
Source§fn clone(&self) -> HappinessDescription
fn clone(&self) -> HappinessDescription
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 moreimpl Copy for HappinessDescription
Source§impl Debug for HappinessDescription
impl Debug for HappinessDescription
Source§impl Default for HappinessDescription
impl Default for HappinessDescription
Source§fn default() -> HappinessDescription
fn default() -> HappinessDescription
Returns the “default value” for a type. Read more
impl Eq for HappinessDescription
Source§impl PartialEq for HappinessDescription
impl PartialEq for HappinessDescription
impl StructuralPartialEq for HappinessDescription
Auto Trait Implementations§
impl Freeze for HappinessDescription
impl RefUnwindSafe for HappinessDescription
impl Send for HappinessDescription
impl Sync for HappinessDescription
impl Unpin for HappinessDescription
impl UnsafeUnpin for HappinessDescription
impl UnwindSafe for HappinessDescription
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