Enum s2_tilejson::SourceType
source · pub enum SourceType {
Vector,
Json,
Raster,
RasterDem,
Sensor,
}Expand description
Check the source type of the layer
Variants§
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 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 ==.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)