pub struct Fragment {
pub flags: u8,
pub len: u8,
pub data: [u8; 180],
}Expand description
One GPS_RTCM_DATA message body.
Fields§
§flags: u8GPS_RTCM_DATA.flags: bit 0 fragmented, bits 1-2 fragment id, bits
3-7 sequence id. Zero for an unfragmented message.
len: u8Bytes of data in use.
data: [u8; 180]Fragment bytes, zero padded to FRAGMENT_LEN.
Trait Implementations§
impl Eq for Fragment
impl StructuralPartialEq for Fragment
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnsafeUnpin for Fragment
impl UnwindSafe for Fragment
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