Struct map_model::Movement [−][src]
pub struct Movement {
pub id: MovementID,
pub turn_type: TurnType,
pub members: Vec<TurnID>,
pub geom: PolyLine,
pub angle: Angle,
}
Expand description
A Movement groups all turns from one road to another, letting traffic signals and pathfinding operate at a higher level of abstraction.
Fields
id: MovementID
turn_type: TurnType
members: Vec<TurnID>
geom: PolyLine
The “overall” path of movement, aka, an “average” of the turn geometry
angle: Angle
Implementations
Polyline points FROM intersection
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 Movement
impl UnwindSafe for Movement
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