Enum google_maps::directions::response::driving_maneuver::DrivingManeuver [−][src]
pub enum DrivingManeuver {}Show variants
Ferry, FerryTrain, ForkLeft, ForkRight, KeepLeft, KeepRight, Merge, Ramp, RampLeft, RampRight, RoundaboutLeft, RoundaboutRight, Straight, TurnLeft, TurnRight, TurnSharpLeft, TurnSharpRight, TurnSlightLeft, TurnSlightRight, UturnLeft, UturnRight,
Expand description
The action to take for the current step (turn left, merge, straight, etc.). This field is used to determine which icon to display. Values in this list are subject to change.
Variants
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
Converts a DrivingManeuver
enum to a String
that contains a
maneuver
type
code.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Gets a DrivingManeuver
enum from a String
that contains a valid
maneuver
type
code.
Auto Trait Implementations
impl RefUnwindSafe for DrivingManeuver
impl Send for DrivingManeuver
impl Sync for DrivingManeuver
impl Unpin for DrivingManeuver
impl UnwindSafe for DrivingManeuver
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V