Enum sim::ParkingSpot [−][src]
pub enum ParkingSpot { Onstreet(LaneID, usize), Offstreet(BuildingID, usize), Lot(ParkingLotID, usize), }
Variants
Lane and idx
Offstreet(BuildingID, usize)
Building and idx (pretty meaningless)
Lot(ParkingLotID, usize)
Trait Implementations
impl Clone for ParkingSpot
[src]
impl Clone for ParkingSpot
[src]fn clone(&self) -> ParkingSpot
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ParkingSpot
[src]
impl<'de> Deserialize<'de> for ParkingSpot
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Ord for ParkingSpot
[src]
impl Ord for ParkingSpot
[src]impl PartialEq<ParkingSpot> for ParkingSpot
[src]
impl PartialEq<ParkingSpot> for ParkingSpot
[src]fn eq(&self, other: &ParkingSpot) -> bool
[src]
fn ne(&self, other: &ParkingSpot) -> bool
[src]
impl PartialOrd<ParkingSpot> for ParkingSpot
[src]
impl PartialOrd<ParkingSpot> for ParkingSpot
[src]impl Serialize for ParkingSpot
[src]
impl Serialize for ParkingSpot
[src]impl Copy for ParkingSpot
[src]
impl Eq for ParkingSpot
[src]
impl StructuralEq for ParkingSpot
[src]
impl StructuralPartialEq for ParkingSpot
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParkingSpot
impl Send for ParkingSpot
impl Sync for ParkingSpot
impl Unpin for ParkingSpot
impl UnwindSafe for ParkingSpot
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>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,