pub struct TilePart<'a> {
pub tile_index: u16,
pub data: &'a [u8],
}Expand description
One tile-part: its tile index and the slice of packet data between SOD and the next marker. Multiple tile-parts can carry one tile; the GRIB2 common case is a single tile in a single part.
Fields§
§tile_index: u16§data: &'a [u8]Trait Implementations§
impl<'a> Eq for TilePart<'a>
Source§impl<'a> PartialEq for TilePart<'a>
impl<'a> PartialEq for TilePart<'a>
impl<'a> StructuralPartialEq for TilePart<'a>
Auto Trait Implementations§
impl<'a> Freeze for TilePart<'a>
impl<'a> RefUnwindSafe for TilePart<'a>
impl<'a> Send for TilePart<'a>
impl<'a> Sync for TilePart<'a>
impl<'a> Unpin for TilePart<'a>
impl<'a> UnsafeUnpin for TilePart<'a>
impl<'a> UnwindSafe for TilePart<'a>
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