logo
#[repr(C)]
pub struct PROJ_CRS_INFO {
Show 13 fields pub auth_name: *mut c_char, pub code: *mut c_char, pub name: *mut c_char, pub type_: PJ_TYPE, pub deprecated: c_int, pub bbox_valid: c_int, pub west_lon_degree: f64, pub south_lat_degree: f64, pub east_lon_degree: f64, pub north_lat_degree: f64, pub area_name: *mut c_char, pub projection_method_name: *mut c_char, pub celestial_body_name: *mut c_char,
}
Expand description

\brief Structure given overall description of a CRS.

This structure may grow over time, and should not be directly allocated by client code.

Fields

auth_name: *mut c_char

Authority name.

code: *mut c_char

Object code.

name: *mut c_char

Object name.

type_: PJ_TYPE

Object type.

deprecated: c_int

Whether the object is deprecated

bbox_valid: c_int

Whereas the west_lon_degree, south_lat_degree, east_lon_degree and north_lat_degree fields are valid.

west_lon_degree: f64

Western-most longitude of the area of use, in degrees.

south_lat_degree: f64

Southern-most latitude of the area of use, in degrees.

east_lon_degree: f64

Eastern-most longitude of the area of use, in degrees.

north_lat_degree: f64

Northern-most latitude of the area of use, in degrees.

area_name: *mut c_char

Name of the area of use.

projection_method_name: *mut c_char

Name of the projection method for a projected CRS. Might be NULL even for projected CRS in some cases.

celestial_body_name: *mut c_char

Name of the celestial body of the CRS (e.g. “Earth”). @since 8.1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.