#[repr(C)]pub struct PamojaMavlinkField {
pub type_name: *const c_char,
pub field_name: *const c_char,
pub array_len: u8,
}Expand description
One field of a message definition, as the CRC_EXTRA derivation reads it.
The seed folds in each field’s type name and field name in wire order, plus the element count for an array field, which is what makes it catch a peer whose idea of the message shape differs.
Fields§
§type_name: *const c_charThe field’s type name as the dialect writes it, such as uint8_t.
field_name: *const c_charThe field’s name as the dialect writes it, such as custom_mode.
array_len: u8The element count for an array field, or 0 for a scalar.
Trait Implementations§
Source§impl Clone for PamojaMavlinkField
impl Clone for PamojaMavlinkField
Source§fn clone(&self) -> PamojaMavlinkField
fn clone(&self) -> PamojaMavlinkField
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 PamojaMavlinkField
Auto Trait Implementations§
impl !Send for PamojaMavlinkField
impl !Sync for PamojaMavlinkField
impl Freeze for PamojaMavlinkField
impl RefUnwindSafe for PamojaMavlinkField
impl Unpin for PamojaMavlinkField
impl UnsafeUnpin for PamojaMavlinkField
impl UnwindSafe for PamojaMavlinkField
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