ProjectCoordinates

Trait ProjectCoordinates 

Source
pub trait ProjectCoordinates {
    // Required methods
    fn code(&self) -> i64;
    fn name(&self) -> &'static str;
    fn names() -> &'static [&'static str];

    // Provided method
    fn datum_type() -> u8 { ... }
}
Expand description

Projection trait. All projections must implement this

Required Methods§

Source

fn code(&self) -> i64

ESPG code for this projection

Source

fn name(&self) -> &'static str

Projection name

Source

fn names() -> &'static [&'static str]

Returns the list of canonical names for this projection. This is an associated function, similar to a static method.

Provided Methods§

Source

fn datum_type() -> u8

get the datum type. Defaults to no datum

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ProjectCoordinates for AxisSwapConverter

Source§

impl ProjectCoordinates for CartesianConverter

Source§

impl ProjectCoordinates for GeocentricLatitudeConverter

Source§

impl ProjectCoordinates for GeocentricConverter

Source§

impl ProjectCoordinates for AlbersConicEqualAreaProjection

Source§

impl ProjectCoordinates for LambertEqualAreaConicProjection

Source§

impl ProjectCoordinates for AzimuthalEquidistantProjection

Source§

impl ProjectCoordinates for AiryProjection

Source§

impl ProjectCoordinates for BonneProjection

Source§

impl ProjectCoordinates for CassiniProjection

Source§

impl ProjectCoordinates for EqualAreaCylindricalProjection

Source§

impl ProjectCoordinates for EquidistantCylindricalProjection

Source§

impl ProjectCoordinates for EquidistantConicProjection

Source§

impl ProjectCoordinates for EqualEarthProjection

Source§

impl ProjectCoordinates for GnomonicProjection

Source§

impl ProjectCoordinates for GoodeHomolosineProjection

Source§

impl ProjectCoordinates for GaussSchreiberTransverseMercatorProjection

Source§

impl ProjectCoordinates for LabordeProjection

Source§

impl ProjectCoordinates for LambertConformalConicAlternativeProjection

Source§

impl ProjectCoordinates for WebMercatorProjection

Source§

impl ProjectCoordinates for MillerCylindricalProjection

Source§

impl ProjectCoordinates for MollweideProjection

Source§

impl ProjectCoordinates for WagnerIVProjection

Source§

impl ProjectCoordinates for WagnerVProjection

Source§

impl ProjectCoordinates for NewZealandMapGridProjection

Source§

impl ProjectCoordinates for ObliqueCylindricalEqualAreaProjection

Source§

impl ProjectCoordinates for OblatedEqualAreaProjection

Source§

impl ProjectCoordinates for OrthographicProjection

Source§

impl ProjectCoordinates for PolyconicProjection

Source§

impl ProjectCoordinates for RobinsonProjection

Source§

impl ProjectCoordinates for EckertVIProjection

Source§

impl ProjectCoordinates for GeneralSinusoidalSeriesProjection

Source§

impl ProjectCoordinates for McBrydeThomasFlatPolarSinusoidalProjection

Source§

impl ProjectCoordinates for SinusoidalProjection

Source§

impl ProjectCoordinates for SwissOblMercatorProjection

Source§

impl ProjectCoordinates for StereographicProjection

Source§

impl ProjectCoordinates for ObliqueStereographicAlternativeProjection

Source§

impl ProjectCoordinates for BaseProjection

Source§

impl ProjectCoordinates for TransverseCentralCylindricalProjection

Source§

impl ProjectCoordinates for TransverseCylindricalEqualArealProjection

Source§

impl ProjectCoordinates for ExtendedTransverseMercatorProjection

Source§

impl ProjectCoordinates for UniversalTransverseMercatorProjection

Source§

impl ProjectCoordinates for VanDerGrintenIProjection

Source§

impl<const C: i64> ProjectCoordinates for LambertAzimuthalEqualAreaBase<C>

Source§

impl<const C: i64> ProjectCoordinates for LambertConformalConicProjection<C>

Source§

impl<const C: i64> ProjectCoordinates for MercatorBaseProjection<C>

Source§

impl<const C: i64> ProjectCoordinates for ObliqueMercatorProjection<C>

Source§

impl<const C: i64> ProjectCoordinates for UniversalPolarStereographicProjection<C>

Source§

impl<const C: i64> ProjectCoordinates for TransverseMercatorBaseProjection<C>

Source§

impl<const C: i64, const E: bool> ProjectCoordinates for KrovakBaseProjection<C, E>