pub enum VgProjectionType {
Show 13 variants
Albers,
AlbersUsa,
AzimuthalEqualArea,
AzimuthalEquidistant,
ConicConformal,
ConicEqualArea,
ConicEquidistant,
Equirectangular,
Gnomonic,
Mercator,
Orthographic,
Stereographic,
TransverseMercator,
}Expand description
The cartographic projection to use. This value is case-insensitive, for example
"albers" and "Albers" indicate the same projection type. You can find all valid
projection types in the
documentation.
Default value: mercator
Variants§
Albers
AlbersUsa
AzimuthalEqualArea
AzimuthalEquidistant
ConicConformal
ConicEqualArea
ConicEquidistant
Equirectangular
Gnomonic
Mercator
Orthographic
Stereographic
TransverseMercator
Trait Implementations§
Source§impl Debug for VgProjectionType
impl Debug for VgProjectionType
Source§impl<'de> Deserialize<'de> for VgProjectionType
impl<'de> Deserialize<'de> for VgProjectionType
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
Auto Trait Implementations§
impl Freeze for VgProjectionType
impl RefUnwindSafe for VgProjectionType
impl Send for VgProjectionType
impl Sync for VgProjectionType
impl Unpin for VgProjectionType
impl UnsafeUnpin for VgProjectionType
impl UnwindSafe for VgProjectionType
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