pub struct Grib2Context {
pub discipline: u8,
}Expand description
External information used to interpret GRIB2 code tables.
Lookups currently use the bundled WMO definitions, without version selection.
Fields§
§discipline: u8Implementations§
Source§impl Grib2Context
impl Grib2Context
pub fn with_parameter_category( &self, category: ParamCategory, ) -> ParameterContext
Trait Implementations§
Source§impl Clone for Grib2Context
impl Clone for Grib2Context
Source§impl CodeTable<Grib2Context> for ParamCategory
impl CodeTable<Grib2Context> for ParamCategory
Source§fn code_is_missing(&self, context: &Grib2Context) -> bool
fn code_is_missing(&self, context: &Grib2Context) -> bool
Whether this code is explicitly defined as missing by the table.
Source§fn code_description(&self, context: &Grib2Context) -> Option<&'static str>
fn code_description(&self, context: &Grib2Context) -> Option<&'static str>
Returns the description for the code number.
impl Copy for Grib2Context
Source§impl Debug for Grib2Context
impl Debug for Grib2Context
Source§impl Dump<Grib2Context> for ParamCategorywhere
Self: CodeTable<Grib2Context>,
impl Dump<Grib2Context> for ParamCategorywhere
Self: CodeTable<Grib2Context>,
Source§impl Dump<Grib2Context> for ProductParamwhere
ParamCategory: DumpField<Grib2Context>,
impl Dump<Grib2Context> for ProductParamwhere
ParamCategory: DumpField<Grib2Context>,
Auto Trait Implementations§
impl Forget for Grib2Context
impl Freeze for Grib2Context
impl Move for Grib2Context
impl RefUnwindSafe for Grib2Context
impl Send for Grib2Context
impl Sync for Grib2Context
impl Unpin for Grib2Context
impl UnsafeUnpin for Grib2Context
impl UnwindSafe for Grib2Context
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