Enum map_gui::ID [−][src]
pub enum ID { Road(RoadID), Lane(LaneID), Intersection(IntersectionID), Building(BuildingID), ParkingLot(ParkingLotID), Car(CarID), Pedestrian(PedestrianID), PedCrowd(Vec<PedestrianID>), BusStop(BusStopID), Area(AreaID), }
Variants
Road(RoadID)
Lane(LaneID)
Intersection(IntersectionID)
Building(BuildingID)
ParkingLot(ParkingLotID)
Car(CarID)
Pedestrian(PedestrianID)
PedCrowd(Vec<PedestrianID>)
BusStop(BusStopID)
Area(AreaID)
Implementations
impl ID
[src]
impl ID
[src]pub fn from_agent(id: AgentID) -> ID
[src]
pub fn agent_id(&self) -> Option<AgentID>
[src]
pub fn as_intersection(&self) -> IntersectionID
[src]
pub fn as_building(&self) -> BuildingID
[src]
Trait Implementations
impl PartialOrd<ID> for ID
[src]
impl PartialOrd<ID> for ID
[src]impl Eq for ID
[src]
impl StructuralEq for ID
[src]
impl StructuralPartialEq for ID
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
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>,