logo
#[repr(C)]
pub struct PROJ_CRS_LIST_PARAMETERS { pub types: *const PJ_TYPE, pub typesCount: usize, pub crs_area_of_use_contains_bbox: 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 allow_deprecated: c_int, pub celestial_body_name: *const c_char, }
Expand description

\brief Structure describing optional parameters for proj_get_crs_list();

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

Fields

types: *const PJ_TYPE

Array of allowed object types. Should be NULL if all types are allowed

typesCount: usize

Size of types. Should be 0 if all types are allowed

crs_area_of_use_contains_bbox: c_int

If TRUE and bbox_valid == TRUE, then only CRS whose area of use entirely contains the specified bounding box will be returned. If FALSE and bbox_valid == TRUE, then only CRS whose area of use intersects the specified bounding box will be returned.

bbox_valid: c_int

To set to TRUE so that west_lon_degree, south_lat_degree, east_lon_degree and north_lat_degree fields are taken into account.

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.

allow_deprecated: c_int

Whether deprecated objects are allowed. Default to FALSE.

celestial_body_name: *const c_char

Celestial body of the CRS (e.g. “Earth”). The default value, NULL, means no restriction @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

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.