pub struct AlbersEqualAreaGrid {Show 23 fields
pub number_of_points: u32,
pub shape_of_earth: u8,
pub scale_factor_radius: u8,
pub scaled_value_radius: u32,
pub scale_factor_major_axis: u8,
pub scaled_value_major_axis: u32,
pub scale_factor_minor_axis: u8,
pub scaled_value_minor_axis: u32,
pub nx: u32,
pub ny: u32,
pub lat_first: i32,
pub lon_first: u32,
pub resolution_and_component_flags: u8,
pub lat_d: i32,
pub lon_v: u32,
pub dx: u32,
pub dy: u32,
pub projection_center_flag: u8,
pub scanning_mode: u8,
pub latin1: i32,
pub latin2: i32,
pub lat_southern_pole: i32,
pub lon_southern_pole: u32,
}Expand description
Template 3.31: Albers equal-area grid.
Fields§
§number_of_points: u32§shape_of_earth: u8§scale_factor_radius: u8§scaled_value_radius: u32§scale_factor_major_axis: u8§scaled_value_major_axis: u32§scale_factor_minor_axis: u8§scaled_value_minor_axis: u32§nx: u32§ny: u32§lat_first: i32§lon_first: u32§resolution_and_component_flags: u8§lat_d: i32§lon_v: u32§dx: u32§dy: u32§projection_center_flag: u8§scanning_mode: u8§latin1: i32§latin2: i32§lat_southern_pole: i32§lon_southern_pole: u32Implementations§
Source§impl AlbersEqualAreaGrid
impl AlbersEqualAreaGrid
pub fn x_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn x_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn y_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn y_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn reorder_for_ndarray_in_place<T>( &self, values: &mut [T], ) -> Result<(), Error>
pub fn validate_supported_scan_order(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for AlbersEqualAreaGrid
impl Clone for AlbersEqualAreaGrid
Source§fn clone(&self) -> AlbersEqualAreaGrid
fn clone(&self) -> AlbersEqualAreaGrid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlbersEqualAreaGrid
impl Debug for AlbersEqualAreaGrid
Source§impl PartialEq for AlbersEqualAreaGrid
impl PartialEq for AlbersEqualAreaGrid
Source§fn eq(&self, other: &AlbersEqualAreaGrid) -> bool
fn eq(&self, other: &AlbersEqualAreaGrid) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlbersEqualAreaGrid
Auto Trait Implementations§
impl Freeze for AlbersEqualAreaGrid
impl RefUnwindSafe for AlbersEqualAreaGrid
impl Send for AlbersEqualAreaGrid
impl Sync for AlbersEqualAreaGrid
impl Unpin for AlbersEqualAreaGrid
impl UnsafeUnpin for AlbersEqualAreaGrid
impl UnwindSafe for AlbersEqualAreaGrid
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more