pub enum AreaType {
Park,
Water,
Island,
StudyArea,
}
Variants
Park
Water
Island
StudyArea
Not from OSM. A user-specified area to focus on.
Trait Implementations
impl<'de> Deserialize<'de> for AreaType
impl<'de> Deserialize<'de> for AreaType
fn deserialize<__D>(
__deserializer: __D
) -> Result<AreaType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AreaType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for AreaType
impl Serialize for AreaType
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for AreaType
impl Eq for AreaType
impl StructuralEq for AreaType
impl StructuralPartialEq for AreaType
Auto Trait Implementations
impl RefUnwindSafe for AreaType
impl Send for AreaType
impl Sync for AreaType
impl Unpin for AreaType
impl UnwindSafe for AreaType
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.