Struct headless::TrafficSignalState [−][src]
pub(crate) struct TrafficSignalState { current_stage_idx: usize, remaining_time: Duration, accepted: BTreeSet<AgentID>, waiting: Vec<(AgentID, TurnID, Time)>, }
Fields
current_stage_idx: usize
remaining_time: Duration
accepted: BTreeSet<AgentID>
waiting: Vec<(AgentID, TurnID, Time)>
Trait Implementations
impl Serialize for TrafficSignalState
[src]
impl Serialize for TrafficSignalState
[src]Auto Trait Implementations
impl RefUnwindSafe for TrafficSignalState
impl Send for TrafficSignalState
impl Sync for TrafficSignalState
impl Unpin for TrafficSignalState
impl UnwindSafe for TrafficSignalState
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
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>,