Struct santa::buildings::Buildings [−][src]
pub struct Buildings { pub buildings: HashMap<BuildingID, BldgState>, pub draw_all: Drawable, pub total_housing_units: usize, pub upzones: HashSet<BuildingID>, }
Fields
buildings: HashMap<BuildingID, BldgState>
draw_all: Drawable
total_housing_units: usize
upzones: HashSet<BuildingID>
Implementations
impl Buildings
[src]
impl Buildings
[src]pub fn new(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<Session>,
upzones: HashSet<BuildingID>
) -> Buildings
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<Session>,
upzones: HashSet<BuildingID>
) -> Buildings
pub fn all_stores(&self) -> Vec<BuildingID>
[src]
pub fn draw_done_houses(
&self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<Session>
) -> Drawable
[src]
&self,
ctx: &mut EventCtx<'_>,
app: &SimpleApp<Session>
) -> Drawable
Auto Trait Implementations
impl !RefUnwindSafe for Buildings
impl !Send for Buildings
impl !Sync for Buildings
impl Unpin for Buildings
impl UnwindSafe for Buildings
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,