Struct map_model::objects::turn::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 operate at a higher level of abstraction. This is used for pathfinding and traffic signals currently; other places focus instead on turns.
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>,
[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 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