Enum map_model::PathStepV2
source · pub enum PathStepV2 {
Along(DirectedRoadID),
Contraflow(DirectedRoadID),
Movement(MovementID),
ContraflowMovement(MovementID),
}
Expand description
One step along a path.
Variants§
Along(DirectedRoadID)
Original direction
Contraflow(DirectedRoadID)
Opposite direction, sidewalks only
Movement(MovementID)
ContraflowMovement(MovementID)
Trait Implementations§
source§impl Clone for PathStepV2
impl Clone for PathStepV2
source§fn clone(&self) -> PathStepV2
fn clone(&self) -> PathStepV2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PathStepV2
impl Debug for PathStepV2
source§impl<'de> Deserialize<'de> for PathStepV2
impl<'de> Deserialize<'de> for PathStepV2
source§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 Freeze for PathStepV2
impl RefUnwindSafe for PathStepV2
impl Send for PathStepV2
impl Sync for PathStepV2
impl Unpin for PathStepV2
impl UnwindSafe for PathStepV2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more