pub enum MapProjection {
Quick,
Mercator,
}Expand description
Which map approximation CoordMap uses.
Variants§
Quick
ggplot2’s coord_quickmap(): linear axes, with the aspect ratio set so
one degree of latitude and of longitude have their true relative
length at the middle latitude (1 / cos(lat)).
Mercator
coord_map("mercator"): latitude stretched as Mercator
(ln tan(π/4 + φ/2)), equal aspect in projected units.
Trait Implementations§
Source§impl Clone for MapProjection
impl Clone for MapProjection
impl Copy for MapProjection
Source§impl Debug for MapProjection
impl Debug for MapProjection
impl Eq for MapProjection
Source§impl PartialEq for MapProjection
impl PartialEq for MapProjection
impl StructuralPartialEq for MapProjection
Auto Trait Implementations§
impl Freeze for MapProjection
impl RefUnwindSafe for MapProjection
impl Send for MapProjection
impl Sync for MapProjection
impl Unpin for MapProjection
impl UnsafeUnpin for MapProjection
impl UnwindSafe for MapProjection
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more