Struct mavlink::MAVLinkV1MessageRaw
source · pub struct MAVLinkV1MessageRaw(/* private fields */);
Implementations§
source§impl MAVLinkV1MessageRaw
impl MAVLinkV1MessageRaw
pub const fn new() -> MAVLinkV1MessageRaw
pub fn header(&mut self) -> &[u8] ⓘ
pub fn payload_length(&self) -> u8
pub fn sequence(&self) -> u8
pub fn system_id(&self) -> u8
pub fn component_id(&self) -> u8
pub fn message_id(&self) -> u8
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 MAVLinkV1MessageRaw
impl Clone for MAVLinkV1MessageRaw
source§fn clone(&self) -> MAVLinkV1MessageRaw
fn clone(&self) -> MAVLinkV1MessageRaw
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 MAVLinkV1MessageRaw
impl Debug for MAVLinkV1MessageRaw
source§impl Default for MAVLinkV1MessageRaw
impl Default for MAVLinkV1MessageRaw
source§fn default() -> MAVLinkV1MessageRaw
fn default() -> MAVLinkV1MessageRaw
Returns the “default value” for a type. Read more
source§impl PartialEq for MAVLinkV1MessageRaw
impl PartialEq for MAVLinkV1MessageRaw
impl Copy for MAVLinkV1MessageRaw
impl Eq for MAVLinkV1MessageRaw
impl StructuralPartialEq for MAVLinkV1MessageRaw
Auto Trait Implementations§
impl Freeze for MAVLinkV1MessageRaw
impl RefUnwindSafe for MAVLinkV1MessageRaw
impl Send for MAVLinkV1MessageRaw
impl Sync for MAVLinkV1MessageRaw
impl Unpin for MAVLinkV1MessageRaw
impl UnwindSafe for MAVLinkV1MessageRaw
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§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
)