pub struct CoordinateOperation {
pub id: Option<CoordinateOperationId>,
pub name: String,
pub source_crs_epsg: Option<u32>,
pub target_crs_epsg: Option<u32>,
pub source_datum_epsg: Option<u32>,
pub target_datum_epsg: Option<u32>,
pub accuracy: Option<OperationAccuracy>,
pub areas_of_use: SmallVec<[AreaOfUse; 1]>,
pub deprecated: bool,
pub preferred: bool,
pub approximate: bool,
pub method: OperationMethod,
}Fields§
§id: Option<CoordinateOperationId>§name: String§source_crs_epsg: Option<u32>§target_crs_epsg: Option<u32>§source_datum_epsg: Option<u32>§target_datum_epsg: Option<u32>§accuracy: Option<OperationAccuracy>§areas_of_use: SmallVec<[AreaOfUse; 1]>§deprecated: bool§preferred: bool§approximate: bool§method: OperationMethodImplementations§
Source§impl CoordinateOperation
impl CoordinateOperation
pub fn metadata(&self) -> CoordinateOperationMetadata
pub fn metadata_for_direction( &self, direction: OperationStepDirection, ) -> CoordinateOperationMetadata
pub fn uses_grids(&self) -> bool
Trait Implementations§
Source§impl Clone for CoordinateOperation
impl Clone for CoordinateOperation
Source§fn clone(&self) -> CoordinateOperation
fn clone(&self) -> CoordinateOperation
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 CoordinateOperation
impl Debug for CoordinateOperation
Source§impl PartialEq for CoordinateOperation
impl PartialEq for CoordinateOperation
impl StructuralPartialEq for CoordinateOperation
Auto Trait Implementations§
impl Freeze for CoordinateOperation
impl RefUnwindSafe for CoordinateOperation
impl Send for CoordinateOperation
impl Sync for CoordinateOperation
impl Unpin for CoordinateOperation
impl UnsafeUnpin for CoordinateOperation
impl UnwindSafe for CoordinateOperation
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