Struct grib::GridDefinition
source · pub struct GridDefinition { /* private fields */ }
Implementations§
source§impl GridDefinition
impl GridDefinition
pub fn from_payload(slice: Box<[u8]>) -> Result<Self, BuildError>
pub fn iter(&self) -> Iter<'_, u8>
sourcepub fn num_points(&self) -> u32
pub fn num_points(&self) -> u32
Number of data points
sourcepub fn grid_tmpl_num(&self) -> u16
pub fn grid_tmpl_num(&self) -> u16
Grid Definition Template Number
Trait Implementations§
source§impl Clone for GridDefinition
impl Clone for GridDefinition
source§fn clone(&self) -> GridDefinition
fn clone(&self) -> GridDefinition
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 GridDefinition
impl Debug for GridDefinition
source§impl Hash for GridDefinition
impl Hash for GridDefinition
source§impl PartialEq for GridDefinition
impl PartialEq for GridDefinition
source§fn eq(&self, other: &GridDefinition) -> bool
fn eq(&self, other: &GridDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GridDefinition
impl StructuralPartialEq for GridDefinition
Auto Trait Implementations§
impl Freeze for GridDefinition
impl RefUnwindSafe for GridDefinition
impl Send for GridDefinition
impl Sync for GridDefinition
impl Unpin for GridDefinition
impl UnwindSafe for GridDefinition
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)