pub enum GridDefinitionTemplateValues {
Template0(LatLonGridDefinition),
Template20(PolarStereographicGridDefinition),
Template30(LambertGridDefinition),
}
Variants§
Template0(LatLonGridDefinition)
Template20(PolarStereographicGridDefinition)
Template30(LambertGridDefinition)
Implementations§
source§impl GridDefinitionTemplateValues
impl GridDefinitionTemplateValues
sourcepub fn ij(&self) -> Result<GridPointIndexIterator, GribError>
pub fn ij(&self) -> Result<GridPointIndexIterator, GribError>
Returns an iterator over (i, j)
of grid points.
Note that this is a low-level API and it is not checked that the number of iterator iterations is consistent with the number of grid points defined in the data.
sourcepub fn latlons(&self) -> Result<GridPointIterator, GribError>
pub fn latlons(&self) -> Result<GridPointIterator, GribError>
Returns an iterator over latitudes and longitudes of grid points.
Note that this is a low-level API and it is not checked that the number of iterator iterations is consistent with the number of grid points defined in the data.
Trait Implementations§
source§impl Debug for GridDefinitionTemplateValues
impl Debug for GridDefinitionTemplateValues
source§impl PartialEq for GridDefinitionTemplateValues
impl PartialEq for GridDefinitionTemplateValues
source§fn eq(&self, other: &GridDefinitionTemplateValues) -> bool
fn eq(&self, other: &GridDefinitionTemplateValues) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GridDefinitionTemplateValues
impl StructuralPartialEq for GridDefinitionTemplateValues
Auto Trait Implementations§
impl RefUnwindSafe for GridDefinitionTemplateValues
impl Send for GridDefinitionTemplateValues
impl Sync for GridDefinitionTemplateValues
impl Unpin for GridDefinitionTemplateValues
impl UnwindSafe for GridDefinitionTemplateValues
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