Enum sim::DelayCause [−][src]
pub enum DelayCause { Agent(AgentID), Intersection(IntersectionID), }
Why is an agent delayed? If there are multiple reasons, arbitrarily pick one – ie, somebody could be blocked by two conflicting turns.
Variants
Agent(AgentID)
Queued behind someone, or someone’s doing a conflicting turn, or someone’s eating up space in a target queue
Intersection(IntersectionID)
Waiting on a traffic signal to change, or pausing at a stop sign before proceeding
Trait Implementations
impl Clone for DelayCause
[src]
impl Clone for DelayCause
[src]fn clone(&self) -> DelayCause
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Ord for DelayCause
[src]
impl Ord for DelayCause
[src]impl PartialEq<DelayCause> for DelayCause
[src]
impl PartialEq<DelayCause> for DelayCause
[src]fn eq(&self, other: &DelayCause) -> bool
[src]
fn ne(&self, other: &DelayCause) -> bool
[src]
impl PartialOrd<DelayCause> for DelayCause
[src]
impl PartialOrd<DelayCause> for DelayCause
[src]impl Serialize for DelayCause
[src]
impl Serialize for DelayCause
[src]impl Eq for DelayCause
[src]
impl StructuralEq for DelayCause
[src]
impl StructuralPartialEq for DelayCause
[src]
Auto Trait Implementations
impl RefUnwindSafe for DelayCause
impl Send for DelayCause
impl Sync for DelayCause
impl Unpin for DelayCause
impl UnwindSafe for DelayCause
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
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>,