pub enum StyleSpecProjectionType {
Mercator,
Equirectangular,
Globe,
VerticalPerspective,
}Expand description
Projection kinds accepted by the current JSON style spec.
Variants§
Mercator
Web Mercator projection.
Equirectangular
Equirectangular planar projection.
Globe
Globe / geocentric projection.
VerticalPerspective
Near-sided vertical perspective projection.
Trait Implementations§
Source§impl Clone for StyleSpecProjectionType
impl Clone for StyleSpecProjectionType
Source§fn clone(&self) -> StyleSpecProjectionType
fn clone(&self) -> StyleSpecProjectionType
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 StyleSpecProjectionType
impl Debug for StyleSpecProjectionType
Source§impl<'de> Deserialize<'de> for StyleSpecProjectionType
impl<'de> Deserialize<'de> for StyleSpecProjectionType
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 PartialEq for StyleSpecProjectionType
impl PartialEq for StyleSpecProjectionType
Source§impl Serialize for StyleSpecProjectionType
impl Serialize for StyleSpecProjectionType
impl Copy for StyleSpecProjectionType
impl Eq for StyleSpecProjectionType
impl StructuralPartialEq for StyleSpecProjectionType
Auto Trait Implementations§
impl Freeze for StyleSpecProjectionType
impl RefUnwindSafe for StyleSpecProjectionType
impl Send for StyleSpecProjectionType
impl Sync for StyleSpecProjectionType
impl Unpin for StyleSpecProjectionType
impl UnsafeUnpin for StyleSpecProjectionType
impl UnwindSafe for StyleSpecProjectionType
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