[][src]Enum map_model::objects::turn::TurnPriority

pub enum TurnPriority {
    Banned,
    Yield,
    Protected,
}

Variants

Banned

For stop signs: Can't currently specify this! For traffic signals: Can't do this turn right now.

Yield

For stop signs: cars have to stop before doing this turn, and are accepted with the lowest priority. For traffic signals: Cars can do this immediately if there are no previously accepted conflicting turns.

Protected

For stop signs: cars can do this without stopping. These can conflict! For traffic signals: Must be non-conflicting.

Trait Implementations

impl Clone for TurnPriority[src]

impl Copy for TurnPriority[src]

impl Debug for TurnPriority[src]

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

impl PartialEq<TurnPriority> for TurnPriority[src]

impl PartialOrd<TurnPriority> for TurnPriority[src]

impl Serialize for TurnPriority[src]

impl StructuralPartialEq for TurnPriority[src]

Auto Trait Implementations

impl RefUnwindSafe for TurnPriority

impl Send for TurnPriority

impl Sync for TurnPriority

impl Unpin for TurnPriority

impl UnwindSafe for TurnPriority

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: for<'de> Deserialize<'de>, 
[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, 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>,