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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StyleSpecProjectionType
Source§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
impl Eq for StyleSpecProjectionType
Source§impl PartialEq for StyleSpecProjectionType
impl PartialEq for StyleSpecProjectionType
Source§fn eq(&self, other: &StyleSpecProjectionType) -> bool
fn eq(&self, other: &StyleSpecProjectionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StyleSpecProjectionType
impl Serialize 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