pub enum DatumToWgs84 {
Identity,
Helmert(HelmertParams),
GridShift(Box<DatumGridShift>),
Unknown,
}Expand description
Explicit WGS84 relationship for a datum.
Variants§
Identity
The datum can be treated as WGS84-compatible in the current model.
Helmert(HelmertParams)
The datum requires the provided Helmert transform to reach WGS84.
GridShift(Box<DatumGridShift>)
The datum requires horizontal grid interpolation to reach WGS84.
Unknown
The datum’s path to WGS84 is not known.
Implementations§
Source§impl DatumToWgs84
impl DatumToWgs84
pub fn uses_grid_shift(&self) -> bool
Trait Implementations§
Source§impl Clone for DatumToWgs84
impl Clone for DatumToWgs84
Source§fn clone(&self) -> DatumToWgs84
fn clone(&self) -> DatumToWgs84
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 DatumToWgs84
impl Debug for DatumToWgs84
Source§impl PartialEq for DatumToWgs84
impl PartialEq for DatumToWgs84
impl StructuralPartialEq for DatumToWgs84
Auto Trait Implementations§
impl Freeze for DatumToWgs84
impl RefUnwindSafe for DatumToWgs84
impl Send for DatumToWgs84
impl Sync for DatumToWgs84
impl Unpin for DatumToWgs84
impl UnsafeUnpin for DatumToWgs84
impl UnwindSafe for DatumToWgs84
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<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