[][src]Enum google_maps::directions::response::driving_maneuver::DrivingManeuver

pub enum DrivingManeuver {
    Ferry,
    FerryTrain,
    ForkLeft,
    ForkRight,
    KeepLeft,
    KeepRight,
    Merge,
    RampLeft,
    RampRight,
    RoundaboutLeft,
    RoundaboutRight,
    Straight,
    TurnLeft,
    TurnRight,
    TurnSharpLeft,
    TurnSharpRight,
    TurnSlightLeft,
    TurnSlightRight,
    UturnLeft,
    UturnRight,
}

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

Ferry
FerryTrain
ForkLeft
ForkRight
KeepLeft
KeepRight
Merge
RampLeft
RampRight
RoundaboutLeft
RoundaboutRight
Straight
TurnLeft
TurnRight
TurnSharpLeft
TurnSharpRight
TurnSlightLeft
TurnSlightRight
UturnLeft
UturnRight

Trait Implementations

impl Clone for DrivingManeuver[src]

impl Debug for DrivingManeuver[src]

impl Default for DrivingManeuver[src]

fn default() -> Self[src]

Returns a reasonable default variant for the DrivingManeuver enum type.

impl<'de> Deserialize<'de> for DrivingManeuver[src]

impl Display for DrivingManeuver[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Formats a DrivingManeuver enum into a string that is presentable to the end user.

impl Eq for DrivingManeuver[src]

impl<'_> From<&'_ DrivingManeuver> for String[src]

fn from(maneuver_type: &DrivingManeuver) -> String[src]

Converts a DrivingManeuver enum to a String that contains a maneuver type code.

impl Hash for DrivingManeuver[src]

impl Ord for DrivingManeuver[src]

impl PartialEq<DrivingManeuver> for DrivingManeuver[src]

impl PartialOrd<DrivingManeuver> for DrivingManeuver[src]

impl Serialize for DrivingManeuver[src]

impl StructuralEq for DrivingManeuver[src]

impl StructuralPartialEq for DrivingManeuver[src]

impl<'_> TryFrom<&'_ str> for DrivingManeuver[src]

type Error = Error

The type returned in the event of a conversion error.

fn try_from(maneuver_type: &str) -> Result<DrivingManeuver, Error>[src]

Gets a DrivingManeuver enum from a String that contains a valid maneuver type code.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,