Enum s2_tilejson::SourceType
source · pub enum SourceType {
Vector,
Json,
Raster,
RasterDem,
Sensor,
Unknown,
}Expand description
Check the source type of the layer
Variants§
Vector
Vector data
Json
Json data
Raster
Raster data
RasterDem
Raster DEM data
Sensor
Sensor data
Unknown
Unknown source type
Trait Implementations§
source§impl Clone for SourceType
impl Clone for SourceType
source§fn clone(&self) -> SourceType
fn clone(&self) -> SourceType
Returns a copy 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 SourceType
impl Debug for SourceType
source§impl Default for SourceType
impl Default for SourceType
source§fn default() -> SourceType
fn default() -> SourceType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourceType
impl<'de> Deserialize<'de> for SourceType
source§fn 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
source§impl From<&str> for SourceType
impl From<&str> for SourceType
source§impl PartialEq for SourceType
impl PartialEq for SourceType
source§fn eq(&self, other: &SourceType) -> bool
fn eq(&self, other: &SourceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SourceType
impl Serialize for SourceType
impl StructuralPartialEq for SourceType
Auto Trait Implementations§
impl Freeze for SourceType
impl RefUnwindSafe for SourceType
impl Send for SourceType
impl Sync for SourceType
impl Unpin for SourceType
impl UnwindSafe for SourceType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)