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