Struct grib::ReprDefinition
source · pub struct ReprDefinition { /* private fields */ }
Implementations§
source§impl ReprDefinition
impl ReprDefinition
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 where one or more values are specified in Section 7 when a bit map is present, total number of data points when a bit map is absent
sourcepub fn repr_tmpl_num(&self) -> u16
pub fn repr_tmpl_num(&self) -> u16
Data Representation Template Number
Trait Implementations§
source§impl Clone for ReprDefinition
impl Clone for ReprDefinition
source§fn clone(&self) -> ReprDefinition
fn clone(&self) -> ReprDefinition
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 ReprDefinition
impl Debug for ReprDefinition
source§impl Hash for ReprDefinition
impl Hash for ReprDefinition
source§impl PartialEq for ReprDefinition
impl PartialEq for ReprDefinition
source§fn eq(&self, other: &ReprDefinition) -> bool
fn eq(&self, other: &ReprDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReprDefinition
impl StructuralPartialEq for ReprDefinition
Auto Trait Implementations§
impl Freeze for ReprDefinition
impl RefUnwindSafe for ReprDefinition
impl Send for ReprDefinition
impl Sync for ReprDefinition
impl Unpin for ReprDefinition
impl UnwindSafe for ReprDefinition
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
)