Enum gapi_grpc::google::maps::routes::v1::Maneuver[][src]

#[repr(i32)]pub enum Maneuver {
    Unspecified,
    TurnSlightLeft,
    TurnSharpLeft,
    UturnLeft,
    TurnLeft,
    TurnSlightRight,
    TurnSharpRight,
    UturnRight,
    TurnRight,
    Straight,
    RampLeft,
    RampRight,
    Merge,
    ForkLeft,
    ForkRight,
    Ferry,
    FerryTrain,
    RoundaboutLeft,
    RoundaboutRight,
}

A set of values that specify the navigation action to take for the current step (e.g., turn left, merge, straight, etc.).

Variants

Unspecified

Not used.

TurnSlightLeft

Turn slightly to the left.

TurnSharpLeft

Turn sharply to the left.

UturnLeft

Make a left u-turn.

TurnLeft

Turn left.

TurnSlightRight

Turn slightly to the right.

TurnSharpRight

Turn sharply to the right.

UturnRight

Make a right u-turn.

TurnRight

Turn right.

Straight

Go straight.

RampLeft

Take the left ramp.

RampRight

Take the right ramp.

Merge

Merge into traffic.

ForkLeft

Take the left fork.

ForkRight

Take the right fork.

Ferry

Take the ferry.

FerryTrain

Take the train leading onto the ferry.

RoundaboutLeft

Turn left at the roundabout.

RoundaboutRight

Turn right at the roundabout.

Implementations

impl Maneuver[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Maneuver.

pub fn from_i32(value: i32) -> Option<Maneuver>[src]

Converts an i32 to a Maneuver, or None if value is not a valid variant.

Trait Implementations

impl Clone for Maneuver[src]

impl Copy for Maneuver[src]

impl Debug for Maneuver[src]

impl Default for Maneuver[src]

impl Eq for Maneuver[src]

impl From<Maneuver> for i32[src]

impl Hash for Maneuver[src]

impl Ord for Maneuver[src]

impl PartialEq<Maneuver> for Maneuver[src]

impl PartialOrd<Maneuver> for Maneuver[src]

impl StructuralEq for Maneuver[src]

impl StructuralPartialEq for Maneuver[src]

Auto Trait Implementations

impl RefUnwindSafe for Maneuver

impl Send for Maneuver

impl Sync for Maneuver

impl Unpin for Maneuver

impl UnwindSafe for Maneuver

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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>, 
[src]

impl<T> WithSubscriber for T[src]