pub struct GridDefinitionHeaderDepA {
pub region_size_inverse: u8,
pub area_width: u16,
pub lat_nw_corner_enc: u16,
pub lon_nw_corner_enc: u16,
pub num_msgs: u8,
pub seq_num: u8,
}
Expand description
Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages
Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages. Also includes an RLE encoded validity list.
Fields
region_size_inverse: u8
region_size (deg) = 10 / region_size_inverse 0 is an invalid value.
area_width: u16
grid height (deg) = grid width (deg) = area_width / region_size 0 is an invalid value.
lat_nw_corner_enc: u16
North-West corner latitude (deg) = region_size * lat_nw_corner_enc - 90
lon_nw_corner_enc: u16
North-West corner longitude (deg) = region_size * lon_nw_corner_enc - 180
num_msgs: u8
Number of messages in the dataset
seq_num: u8
Position of this message in the dataset
Trait Implementations
sourceimpl Clone for GridDefinitionHeaderDepA
impl Clone for GridDefinitionHeaderDepA
sourcefn clone(&self) -> GridDefinitionHeaderDepA
fn clone(&self) -> GridDefinitionHeaderDepA
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for GridDefinitionHeaderDepA
impl Send for GridDefinitionHeaderDepA
impl Sync for GridDefinitionHeaderDepA
impl Unpin for GridDefinitionHeaderDepA
impl UnwindSafe for GridDefinitionHeaderDepA
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more