pub struct MavHeader {
pub system_id: u8,
pub component_id: u8,
pub sequence: u8,
}Expand description
Metadata from a MAVLink packet header
Fields§
§system_id: u8Sender system ID
component_id: u8Sender component ID
sequence: u8Packet sequence number
Trait Implementations§
impl Copy for MavHeader
Source§impl Default for MavHeader
Return a default GCS header, seq is replaced by the connector
so it can be ignored. Set component_id to your desired component ID.
impl Default for MavHeader
Return a default GCS header, seq is replaced by the connector
so it can be ignored. Set component_id to your desired component ID.
impl Eq for MavHeader
impl StructuralPartialEq for MavHeader
Auto Trait Implementations§
impl Freeze for MavHeader
impl RefUnwindSafe for MavHeader
impl Send for MavHeader
impl Sync for MavHeader
impl Unpin for MavHeader
impl UnsafeUnpin for MavHeader
impl UnwindSafe for MavHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.