Struct mavlink::MAVLinkV2MessageRaw
source · pub struct MAVLinkV2MessageRaw(/* private fields */);
Implementations§
source§impl MAVLinkV2MessageRaw
impl MAVLinkV2MessageRaw
pub const fn new() -> MAVLinkV2MessageRaw
pub fn header(&mut self) -> &[u8] ⓘ
pub fn payload_length(&self) -> u8
pub fn incompatibility_flags(&self) -> u8
pub fn compatibility_flags(&self) -> u8
pub fn sequence(&self) -> u8
pub fn system_id(&self) -> u8
pub fn component_id(&self) -> u8
pub fn message_id(&self) -> u32
pub fn payload(&self) -> &[u8] ⓘ
pub fn checksum(&self) -> u16
pub fn has_valid_crc<M>(&self) -> boolwhere
M: Message,
pub fn raw_bytes(&self) -> &[u8] ⓘ
pub fn serialize_message<M>(&mut self, header: MavHeader, message: &M)where
M: Message,
pub fn serialize_message_data<D>(&mut self, header: MavHeader, message_data: &D)where
D: MessageData,
Trait Implementations§
source§impl Clone for MAVLinkV2MessageRaw
impl Clone for MAVLinkV2MessageRaw
source§fn clone(&self) -> MAVLinkV2MessageRaw
fn clone(&self) -> MAVLinkV2MessageRaw
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MAVLinkV2MessageRaw
impl Debug for MAVLinkV2MessageRaw
source§impl Default for MAVLinkV2MessageRaw
impl Default for MAVLinkV2MessageRaw
source§fn default() -> MAVLinkV2MessageRaw
fn default() -> MAVLinkV2MessageRaw
Returns the “default value” for a type. Read more
source§impl PartialEq for MAVLinkV2MessageRaw
impl PartialEq for MAVLinkV2MessageRaw
source§fn eq(&self, other: &MAVLinkV2MessageRaw) -> bool
fn eq(&self, other: &MAVLinkV2MessageRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MAVLinkV2MessageRaw
impl Eq for MAVLinkV2MessageRaw
impl StructuralPartialEq for MAVLinkV2MessageRaw
Auto Trait Implementations§
impl Freeze for MAVLinkV2MessageRaw
impl RefUnwindSafe for MAVLinkV2MessageRaw
impl Send for MAVLinkV2MessageRaw
impl Sync for MAVLinkV2MessageRaw
impl Unpin for MAVLinkV2MessageRaw
impl UnwindSafe for MAVLinkV2MessageRaw
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)