Struct map_model::raw::RawIntersection [−][src]
pub struct RawIntersection {
pub point: Pt2D,
pub intersection_type: IntersectionType,
pub elevation: Distance,
pub trim_roads_for_merging: BTreeMap<(WayID, bool), Pt2D>,
}
Fields
point: Pt2D
Represents the original place where OSM center-lines meet. This may be meaningless beyond RawMap; roads and intersections get merged and deleted.
intersection_type: IntersectionType
elevation: Distance
trim_roads_for_merging: BTreeMap<(WayID, bool), Pt2D>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RawIntersection
impl Send for RawIntersection
impl Sync for RawIntersection
impl Unpin for RawIntersection
impl UnwindSafe for RawIntersection
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