#[non_exhaustive]#[repr(C)]pub enum CityJSONVersion {
V2_0 = 0,
}Expand description
Supported CityJSON spec versions. Currently only v2.0.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V2_0 = 0
Trait Implementations§
Source§impl Clone for CityJSONVersion
impl Clone for CityJSONVersion
Source§fn clone(&self) -> CityJSONVersion
fn clone(&self) -> CityJSONVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CityJSONVersion
impl Debug for CityJSONVersion
Source§impl Default for CityJSONVersion
impl Default for CityJSONVersion
Source§fn default() -> CityJSONVersion
fn default() -> CityJSONVersion
Returns the “default value” for a type. Read more
Source§impl Display for CityJSONVersion
impl Display for CityJSONVersion
Source§impl Hash for CityJSONVersion
impl Hash for CityJSONVersion
Source§impl Ord for CityJSONVersion
impl Ord for CityJSONVersion
Source§fn cmp(&self, other: &CityJSONVersion) -> Ordering
fn cmp(&self, other: &CityJSONVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CityJSONVersion
impl PartialEq for CityJSONVersion
Source§impl PartialOrd for CityJSONVersion
impl PartialOrd for CityJSONVersion
Source§impl TryFrom<&str> for CityJSONVersion
impl TryFrom<&str> for CityJSONVersion
Source§impl TryFrom<String> for CityJSONVersion
impl TryFrom<String> for CityJSONVersion
impl Copy for CityJSONVersion
impl Eq for CityJSONVersion
impl StructuralPartialEq for CityJSONVersion
Auto Trait Implementations§
impl Freeze for CityJSONVersion
impl RefUnwindSafe for CityJSONVersion
impl Send for CityJSONVersion
impl Sync for CityJSONVersion
impl Unpin for CityJSONVersion
impl UnsafeUnpin for CityJSONVersion
impl UnwindSafe for CityJSONVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more