pub struct OwnedFieldDescriptor {
pub name: String,
pub ty: FieldType,
pub array_len: u8,
pub extension: bool,
}Expand description
One field of an owned message shape.
Fields§
§name: StringThe field name as the dialect writes it.
ty: FieldTypeThe field’s scalar type, which for an array is its element type.
array_len: u8The element count for an array field, or 0 for a scalar.
extension: boolWhether this is a MAVLink 2 extension field.
Trait Implementations§
Source§impl Clone for OwnedFieldDescriptor
impl Clone for OwnedFieldDescriptor
Source§fn clone(&self) -> OwnedFieldDescriptor
fn clone(&self) -> OwnedFieldDescriptor
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 moreSource§impl Debug for OwnedFieldDescriptor
impl Debug for OwnedFieldDescriptor
impl Eq for OwnedFieldDescriptor
Source§impl PartialEq for OwnedFieldDescriptor
impl PartialEq for OwnedFieldDescriptor
Source§fn eq(&self, other: &OwnedFieldDescriptor) -> bool
fn eq(&self, other: &OwnedFieldDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnedFieldDescriptor
Auto Trait Implementations§
impl Freeze for OwnedFieldDescriptor
impl RefUnwindSafe for OwnedFieldDescriptor
impl Send for OwnedFieldDescriptor
impl Sync for OwnedFieldDescriptor
impl Unpin for OwnedFieldDescriptor
impl UnsafeUnpin for OwnedFieldDescriptor
impl UnwindSafe for OwnedFieldDescriptor
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