Enum map_model::TurnPriority [−][src]
pub enum TurnPriority { Banned, Yield, Protected, }
Variants
For stop signs: Can’t currently specify this! For traffic signals: Can’t do this turn right now.
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.
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 Clone for TurnPriority
[src]fn clone(&self) -> TurnPriority
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for TurnPriority
[src]
impl<'de> Deserialize<'de> for TurnPriority
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<TurnPriority> for TurnPriority
[src]
impl PartialEq<TurnPriority> for TurnPriority
[src]impl PartialOrd<TurnPriority> for TurnPriority
[src]
impl PartialOrd<TurnPriority> for TurnPriority
[src]fn partial_cmp(&self, other: &TurnPriority) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for TurnPriority
[src]
impl Serialize for TurnPriority
[src]impl Copy 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> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,