Struct map_model::Area [−][src]
pub struct Area { pub id: AreaID, pub area_type: AreaType, pub polygon: Polygon, pub osm_tags: Tags, pub osm_id: Option<OsmID>, }
Expand description
Areas are just used for drawing.
Fields
id: AreaID
area_type: AreaType
polygon: Polygon
osm_id: Option<OsmID>
The importing process also automatically creates some areas, so they don’t come from OSM.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Area
impl UnwindSafe for Area
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self