Struct proj_sys::PROJ_CRS_INFO
source · #[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§
source§impl Clone for PROJ_CRS_INFO
impl Clone for PROJ_CRS_INFO
source§fn clone(&self) -> PROJ_CRS_INFO
fn clone(&self) -> PROJ_CRS_INFO
Returns a copy 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 PROJ_CRS_INFO
impl Debug for PROJ_CRS_INFO
impl Copy for PROJ_CRS_INFO
Auto Trait Implementations§
impl RefUnwindSafe for PROJ_CRS_INFO
impl !Send for PROJ_CRS_INFO
impl !Sync for PROJ_CRS_INFO
impl Unpin for PROJ_CRS_INFO
impl UnwindSafe for PROJ_CRS_INFO
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