Struct popdat::CensusArea [−][src]
Represents aggregate demographic data for some part of a city. These could be census tracts or blocks, depending what data we find. All of the areas should roughly partition the map – we probably don’t need to guarantee we cover every single building, but we definitely shouldn’t have two overlapping areas.
Fields
polygon: Polygon<f64>
population: usize
Implementations
impl CensusArea
[src]
impl CensusArea
[src]pub async fn fetch_all_for_map(
map_area: &Polygon,
bounds: &GPSBounds
) -> Result<Vec<CensusArea>>
[src]
map_area: &Polygon,
bounds: &GPSBounds
) -> Result<Vec<CensusArea>>
Trait Implementations
impl PartialEq<CensusArea> for CensusArea
[src]
impl PartialEq<CensusArea> for CensusArea
[src]fn eq(&self, other: &CensusArea) -> bool
[src]
fn ne(&self, other: &CensusArea) -> bool
[src]
impl StructuralPartialEq for CensusArea
[src]
Auto Trait Implementations
impl RefUnwindSafe for CensusArea
impl Send for CensusArea
impl Sync for CensusArea
impl Unpin for CensusArea
impl UnwindSafe for CensusArea
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>,