#[non_exhaustive]pub enum TmercAlgo {
Auto,
EvendenSnyder,
PoderEngsager,
}Expand description
Algorithm selection for transverse Mercator, mirroring PROJ’s tmerc algo choice.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Pick automatically. AUTO defaults to TmercAlgo::PoderEngsager for
ellipsoidal tmerc here, matching PROJ’s preference for the exact series.
EvendenSnyder
Evenden/Snyder approximate series (PROJ approx).
PoderEngsager
Poder/Engsager exact series (PROJ exact, the default for ellipsoids).
Trait Implementations§
impl Copy for TmercAlgo
impl Eq for TmercAlgo
impl StructuralPartialEq for TmercAlgo
Auto Trait Implementations§
impl Freeze for TmercAlgo
impl RefUnwindSafe for TmercAlgo
impl Send for TmercAlgo
impl Sync for TmercAlgo
impl Unpin for TmercAlgo
impl UnsafeUnpin for TmercAlgo
impl UnwindSafe for TmercAlgo
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