pub struct Grib2Sections {
pub indicator: Option<Grib2IndicatorSection>,
pub identification: Option<Grib2IdentificationSection>,
pub local: Option<Grib2LocalUseSection>,
pub grid_definition: Option<GridDefinitionSection>,
pub product_definition: Option<Grib2ProductDefinitionSection>,
pub data_representation: Option<Grib2DataRepresentationSection>,
pub bit_map: Option<Grib2BitMapSection>,
pub data: Option<Grib2DataSection>,
pub end: Option<Grib2EndSection>,
}Expand description
A parsed GRIB file and it’s sections
Fields§
§indicator: Option<Grib2IndicatorSection>The Indicator Section
identification: Option<Grib2IdentificationSection>The Identification Section
local: Option<Grib2LocalUseSection>The Local Use Section
grid_definition: Option<GridDefinitionSection>The Grid Definition Section
product_definition: Option<Grib2ProductDefinitionSection>The Product Definition Section
data_representation: Option<Grib2DataRepresentationSection>The Data Representation Section
bit_map: Option<Grib2BitMapSection>The Bit Map Section
data: Option<Grib2DataSection>The Data Section
end: Option<Grib2EndSection>The End Section
Trait Implementations§
Source§impl Clone for Grib2Sections
impl Clone for Grib2Sections
Source§fn clone(&self) -> Grib2Sections
fn clone(&self) -> Grib2Sections
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Grib2Sections
impl Debug for Grib2Sections
Source§impl Default for Grib2Sections
impl Default for Grib2Sections
Source§fn default() -> Grib2Sections
fn default() -> Grib2Sections
Returns the “default value” for a type. Read more
Source§impl PartialEq for Grib2Sections
impl PartialEq for Grib2Sections
impl StructuralPartialEq for Grib2Sections
Auto Trait Implementations§
impl !Freeze for Grib2Sections
impl !RefUnwindSafe for Grib2Sections
impl Send for Grib2Sections
impl !Sync for Grib2Sections
impl Unpin for Grib2Sections
impl UnwindSafe for Grib2Sections
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().