Struct map_model::objects::turn::Turn [−][src]
Expand description
A Turn leads from the end of one Lane to the start of another. (Except for pedestrians; sidewalks are bidirectional.)
Fields
id: TurnID
turn_type: TurnType
geom: PolyLine
Implementations
Penalties for (lane types, lane-changing, slow lane). The penalty may depend on the vehicle performing the turn. Lower means preferable.
Is this turn legal, according to turn lane tagging?
Is this turn legal, according to turn restrictions defined between road segments?
If this turn is a crosswalk over a single road, return that road and which end of the road is crossed.
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
Auto Trait Implementations
impl RefUnwindSafe for Turn
impl UnwindSafe for Turn
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