Enum map_model::OffstreetParking
source · [−]Expand description
Represent no parking as Private(0, false).
Variants
PublicGarage(String, usize)
(Name, spots)
Private(usize, bool)
(Spots, explicitly tagged as a garage)
Trait Implementations
sourceimpl Clone for OffstreetParking
impl Clone for OffstreetParking
sourcefn clone(&self) -> OffstreetParking
fn clone(&self) -> OffstreetParking
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OffstreetParking
impl Debug for OffstreetParking
sourceimpl<'de> Deserialize<'de> for OffstreetParking
impl<'de> Deserialize<'de> for OffstreetParking
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<OffstreetParking> for OffstreetParking
impl PartialEq<OffstreetParking> for OffstreetParking
sourcefn eq(&self, other: &OffstreetParking) -> bool
fn eq(&self, other: &OffstreetParking) -> bool
sourceimpl Serialize for OffstreetParking
impl Serialize for OffstreetParking
impl StructuralPartialEq for OffstreetParking
Auto Trait Implementations
impl RefUnwindSafe for OffstreetParking
impl Send for OffstreetParking
impl Sync for OffstreetParking
impl Unpin for OffstreetParking
impl UnwindSafe for OffstreetParking
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more