pub enum SelectionPolicy {
BestAvailable,
RequireGrids,
RequireExactAreaMatch,
AllowApproximateHelmertFallback,
Operation(CoordinateOperationId),
}Variants§
BestAvailable
Select the best supported registry or exact synthetic operation.
This default policy does not synthesize approximate Helmert fallbacks.
Use SelectionOptions::allow_approximate_helmert_fallback when a
last-resort approximate datum shift is acceptable.
RequireGrids
Require a grid-backed datum operation whenever a datum shift is needed.
RequireExactAreaMatch
Require selected registry operations to match the configured area of interest.
AllowApproximateHelmertFallback
Permit a synthetic approximate Helmert operation when no better supported operation is available.
Operation(CoordinateOperationId)
Select one explicit registry operation by id.
Trait Implementations§
Source§impl Clone for SelectionPolicy
impl Clone for SelectionPolicy
Source§fn clone(&self) -> SelectionPolicy
fn clone(&self) -> SelectionPolicy
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 moreAuto Trait Implementations§
impl Freeze for SelectionPolicy
impl RefUnwindSafe for SelectionPolicy
impl Send for SelectionPolicy
impl Sync for SelectionPolicy
impl Unpin for SelectionPolicy
impl UnsafeUnpin for SelectionPolicy
impl UnwindSafe for SelectionPolicy
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