Struct sim::DrawCarInput [−][src]
pub struct DrawCarInput { pub id: CarID, pub waiting_for_turn: Option<TurnID>, pub status: CarStatus, pub intent: Option<Intent>, pub on: Traversable, pub partly_on: Vec<Traversable>, pub label: Option<String>, pub person: Option<PersonID>, pub body: PolyLine, }
Fields
id: CarID
waiting_for_turn: Option<TurnID>
status: CarStatus
intent: Option<Intent>
on: Traversable
Front of the car
partly_on: Vec<Traversable>
Possibly the rest
label: Option<String>
person: Option<PersonID>
None means a bus or parked car. Note parked cars do NOT express their owner here!
body: PolyLine
Trait Implementations
impl Clone for DrawCarInput
[src]
impl Clone for DrawCarInput
[src]fn clone(&self) -> DrawCarInput
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for DrawCarInput
impl Send for DrawCarInput
impl Sync for DrawCarInput
impl Unpin for DrawCarInput
impl UnwindSafe for DrawCarInput
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>,