#[repr(C)]pub struct PamojaMavlinkHeader {
pub system_id: u8,
pub component_id: u8,
pub sequence: u8,
}Expand description
The addressing fields a sender stamps on every frame.
A frame says who sent it, a system and a component, and where it sits in that sender’s stream, so a receiver can tell a dropped frame from a quiet link.
Fields§
§system_id: u8The sending system’s id.
component_id: u8The sending component’s id.
sequence: u8The sender’s sequence number, which wraps at 256.
Trait Implementations§
Source§impl Clone for PamojaMavlinkHeader
impl Clone for PamojaMavlinkHeader
Source§fn clone(&self) -> PamojaMavlinkHeader
fn clone(&self) -> PamojaMavlinkHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaMavlinkHeader
Source§impl Debug for PamojaMavlinkHeader
impl Debug for PamojaMavlinkHeader
impl Eq for PamojaMavlinkHeader
Source§impl From<PamojaMavlinkHeader> for Header
impl From<PamojaMavlinkHeader> for Header
Source§fn from(header: PamojaMavlinkHeader) -> Self
fn from(header: PamojaMavlinkHeader) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaMavlinkHeader
impl PartialEq for PamojaMavlinkHeader
Source§fn eq(&self, other: &PamojaMavlinkHeader) -> bool
fn eq(&self, other: &PamojaMavlinkHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaMavlinkHeader
Auto Trait Implementations§
impl Freeze for PamojaMavlinkHeader
impl RefUnwindSafe for PamojaMavlinkHeader
impl Send for PamojaMavlinkHeader
impl Sync for PamojaMavlinkHeader
impl Unpin for PamojaMavlinkHeader
impl UnsafeUnpin for PamojaMavlinkHeader
impl UnwindSafe for PamojaMavlinkHeader
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