#[non_exhaustive]#[repr(C)]pub enum CityModelType {
CityJSON = 0,
CityJSONFeature = 1,
}Expand description
Whether a CityModel is a full CityJSON document or a
single-feature CityJSONFeature (used for streaming and tiling).
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.
Trait Implementations§
Source§impl Clone for CityModelType
impl Clone for CityModelType
Source§fn clone(&self) -> CityModelType
fn clone(&self) -> CityModelType
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 CityModelType
impl Debug for CityModelType
Source§impl Default for CityModelType
impl Default for CityModelType
Source§fn default() -> CityModelType
fn default() -> CityModelType
Returns the “default value” for a type. Read more
Source§impl Display for CityModelType
impl Display for CityModelType
Source§impl Hash for CityModelType
impl Hash for CityModelType
Source§impl PartialEq for CityModelType
impl PartialEq for CityModelType
Source§impl TryFrom<&str> for CityModelType
impl TryFrom<&str> for CityModelType
Source§impl TryFrom<String> for CityModelType
impl TryFrom<String> for CityModelType
impl Copy for CityModelType
impl Eq for CityModelType
impl StructuralPartialEq for CityModelType
Auto Trait Implementations§
impl Freeze for CityModelType
impl RefUnwindSafe for CityModelType
impl Send for CityModelType
impl Sync for CityModelType
impl Unpin for CityModelType
impl UnsafeUnpin for CityModelType
impl UnwindSafe for CityModelType
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