Struct mavlink::ardupilotmega::OSD_PARAM_CONFIG_DATA
source · pub struct OSD_PARAM_CONFIG_DATA {
pub request_id: u32,
pub min_value: f32,
pub max_value: f32,
pub increment: f32,
pub target_system: u8,
pub target_component: u8,
pub osd_screen: u8,
pub osd_index: u8,
pub param_id: [u8; 16],
pub config_type: OsdParamConfigType,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 11033 Configure an OSD parameter slot..
Fields§
§request_id: u32
Request ID - copied to reply..
min_value: f32
OSD parameter minimum value..
max_value: f32
OSD parameter maximum value..
increment: f32
OSD parameter increment..
target_system: u8
System ID..
target_component: u8
Component ID..
osd_screen: u8
OSD parameter screen index..
osd_index: u8
OSD parameter display index..
param_id: [u8; 16]
Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string.
config_type: OsdParamConfigType
Config type..
Implementations§
source§impl OSD_PARAM_CONFIG_DATA
impl OSD_PARAM_CONFIG_DATA
pub const ENCODED_LEN: usize = 37usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OSD_PARAM_CONFIG_DATA
impl Clone for OSD_PARAM_CONFIG_DATA
source§fn clone(&self) -> OSD_PARAM_CONFIG_DATA
fn clone(&self) -> OSD_PARAM_CONFIG_DATA
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 OSD_PARAM_CONFIG_DATA
impl Debug for OSD_PARAM_CONFIG_DATA
source§impl Default for OSD_PARAM_CONFIG_DATA
impl Default for OSD_PARAM_CONFIG_DATA
source§impl<'de> Deserialize<'de> for OSD_PARAM_CONFIG_DATA
impl<'de> Deserialize<'de> for OSD_PARAM_CONFIG_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for OSD_PARAM_CONFIG_DATA
impl MessageData for OSD_PARAM_CONFIG_DATA
const ID: u32 = 11_033u32
const NAME: &'static str = "OSD_PARAM_CONFIG"
const EXTRA_CRC: u8 = 195u8
const ENCODED_LEN: usize = 37usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for OSD_PARAM_CONFIG_DATA
impl PartialEq for OSD_PARAM_CONFIG_DATA
source§impl Serialize for OSD_PARAM_CONFIG_DATA
impl Serialize for OSD_PARAM_CONFIG_DATA
impl StructuralPartialEq for OSD_PARAM_CONFIG_DATA
Auto Trait Implementations§
impl Freeze for OSD_PARAM_CONFIG_DATA
impl RefUnwindSafe for OSD_PARAM_CONFIG_DATA
impl Send for OSD_PARAM_CONFIG_DATA
impl Sync for OSD_PARAM_CONFIG_DATA
impl Unpin for OSD_PARAM_CONFIG_DATA
impl UnwindSafe for OSD_PARAM_CONFIG_DATA
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
)