#[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§

source§

impl Clone for PROJ_CRS_LIST_PARAMETERS

source§

fn clone(&self) -> PROJ_CRS_LIST_PARAMETERS

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PROJ_CRS_LIST_PARAMETERS

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PROJ_CRS_LIST_PARAMETERS

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.