Enum map_model::pathfind::v2::PathStepV2 [−][src]
pub enum PathStepV2 {
Along(DirectedRoadID),
Contraflow(DirectedRoadID),
Movement(MovementID),
ContraflowMovement(MovementID),
}
Expand description
One step along a path.
Variants
Along(DirectedRoadID)
Tuple Fields
Original direction
Contraflow(DirectedRoadID)
Tuple Fields
Opposite direction, sidewalks only
Movement(MovementID)
Tuple Fields
0: MovementID
ContraflowMovement(MovementID)
Tuple Fields
0: MovementID
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 PathStepV2
impl Send for PathStepV2
impl Sync for PathStepV2
impl Unpin for PathStepV2
impl UnwindSafe for PathStepV2
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