Enum game::layer::parking::Loc [−][src]
enum Loc { Road(RoadID), Bldg(BuildingID), Lot(ParkingLotID), }
Variants
Road(RoadID)
Bldg(BuildingID)
Lot(ParkingLotID)
Implementations
impl Loc
[src]
impl Loc
[src]fn new(spot: ParkingSpot, map: &Map) -> Loc
[src]
Trait Implementations
impl PartialOrd<Loc> for Loc
[src]
impl PartialOrd<Loc> for Loc
[src]impl Copy for Loc
[src]
impl Eq for Loc
[src]
impl StructuralEq for Loc
[src]
impl StructuralPartialEq for Loc
[src]
Auto Trait Implementations
impl RefUnwindSafe for Loc
impl Send for Loc
impl Sync for Loc
impl Unpin for Loc
impl UnwindSafe for Loc
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>,