Enum map_model::objects::turn::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
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
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
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self