Struct map_model::objects::area::Area [−][src]
pub struct Area { pub id: AreaID, pub area_type: AreaType, pub polygon: Polygon, pub osm_tags: Tags, pub osm_id: Option<OsmID>, }
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
impl<'de> Deserialize<'de> for Area
[src]
impl<'de> Deserialize<'de> for Area
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Area
impl Send for Area
impl Sync for Area
impl Unpin for Area
impl UnwindSafe for Area
Blanket Implementations
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>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,