pub struct Grib2Table3_5 {
pub bit1: Grib2Table3_5Bit1,
pub bit2: Grib2Table3_5Bit2,
pub reserved_bits_set: u8,
}Expand description
§Table 3.5 - PROJECTION CENTER
Details:
- Section: 3
- Octet: 55
- Applicable Grid Templates: 20, 30, 31
Reserved Bits:
3-8: Reserved
Special Values:
- None
§Description
This table defines the projection center flags used in GRIB2 files, specifying the pole location and projection type.
§Links
§Notes
- Created 05/11/2005
This table defines individual bit flags. To use them, you will need to extract the
relevant bit from the byte at Octet 55 (index 54) and convert it using the
corresponding From<u8> implementation.
Fields§
§bit1: Grib2Table3_5Bit1Bit 1: North Pole on projection plane (0) or South Pole on projection plane (1).
bit2: Grib2Table3_5Bit2Bit 2: Only one projection center used (0) or projection is bi-polar and symmetric (1).
reserved_bits_set: u8If any reserved bits (3-8) are set, this field will indicate the original byte value. Otherwise, it will be 0.
Trait Implementations§
Source§impl Clone for Grib2Table3_5
impl Clone for Grib2Table3_5
Source§fn clone(&self) -> Grib2Table3_5
fn clone(&self) -> Grib2Table3_5
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 Grib2Table3_5
impl Debug for Grib2Table3_5
Source§impl Display for Grib2Table3_5
impl Display for Grib2Table3_5
Source§impl From<u8> for Grib2Table3_5
impl From<u8> for Grib2Table3_5
Source§impl PartialEq for Grib2Table3_5
impl PartialEq for Grib2Table3_5
impl Copy for Grib2Table3_5
impl Eq for Grib2Table3_5
impl StructuralPartialEq for Grib2Table3_5
Auto Trait Implementations§
impl Freeze for Grib2Table3_5
impl RefUnwindSafe for Grib2Table3_5
impl Send for Grib2Table3_5
impl Sync for Grib2Table3_5
impl Unpin for Grib2Table3_5
impl UnwindSafe for Grib2Table3_5
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more