Struct grib::SectionInfo
source · pub struct SectionInfo {
pub num: u8,
pub offset: usize,
pub size: usize,
pub body: Option<SectionBody>,
}
Fields§
§num: u8
§offset: usize
§size: usize
§body: Option<SectionBody>
Implementations§
source§impl SectionInfo
impl SectionInfo
pub fn get_tmpl_code(&self) -> Option<TemplateInfo>
Trait Implementations§
source§impl Clone for SectionInfo
impl Clone for SectionInfo
source§fn clone(&self) -> SectionInfo
fn clone(&self) -> SectionInfo
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 SectionInfo
impl Debug for SectionInfo
source§impl Default for SectionInfo
impl Default for SectionInfo
source§fn default() -> SectionInfo
fn default() -> SectionInfo
Returns the “default value” for a type. Read more
source§impl PartialEq for SectionInfo
impl PartialEq for SectionInfo
source§fn eq(&self, other: &SectionInfo) -> bool
fn eq(&self, other: &SectionInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SectionInfo
impl StructuralPartialEq for SectionInfo
Auto Trait Implementations§
impl Freeze for SectionInfo
impl RefUnwindSafe for SectionInfo
impl Send for SectionInfo
impl Sync for SectionInfo
impl Unpin for SectionInfo
impl UnwindSafe for SectionInfo
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
)