Struct mavlink::avssuas::CAMERA_INFORMATION_DATA
source · pub struct CAMERA_INFORMATION_DATA {Show 13 fields
pub time_boot_ms: u32,
pub firmware_version: u32,
pub focal_length: f32,
pub sensor_size_h: f32,
pub sensor_size_v: f32,
pub flags: CameraCapFlags,
pub resolution_h: u16,
pub resolution_v: u16,
pub cam_definition_version: u16,
pub vendor_name: [u8; 32],
pub model_name: [u8; 32],
pub lens_id: u8,
pub cam_definition_uri: [u8; 140],
}
Fields§
§time_boot_ms: u32
§firmware_version: u32
§focal_length: f32
§sensor_size_h: f32
§sensor_size_v: f32
§flags: CameraCapFlags
§resolution_h: u16
§resolution_v: u16
§cam_definition_version: u16
§vendor_name: [u8; 32]
§model_name: [u8; 32]
§lens_id: u8
§cam_definition_uri: [u8; 140]
Implementations§
source§impl CAMERA_INFORMATION_DATA
impl CAMERA_INFORMATION_DATA
pub const ENCODED_LEN: usize = 235usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CAMERA_INFORMATION_DATA
impl Clone for CAMERA_INFORMATION_DATA
source§fn clone(&self) -> CAMERA_INFORMATION_DATA
fn clone(&self) -> CAMERA_INFORMATION_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 CAMERA_INFORMATION_DATA
impl Debug for CAMERA_INFORMATION_DATA
source§impl Default for CAMERA_INFORMATION_DATA
impl Default for CAMERA_INFORMATION_DATA
source§impl<'de> Deserialize<'de> for CAMERA_INFORMATION_DATA
impl<'de> Deserialize<'de> for CAMERA_INFORMATION_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 CAMERA_INFORMATION_DATA
impl MessageData for CAMERA_INFORMATION_DATA
type Message = MavMessage
const ID: u32 = 259u32
const NAME: &'static str = "CAMERA_INFORMATION"
const EXTRA_CRC: u8 = 92u8
const ENCODED_LEN: usize = 235usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for CAMERA_INFORMATION_DATA
impl PartialEq for CAMERA_INFORMATION_DATA
source§fn eq(&self, other: &CAMERA_INFORMATION_DATA) -> bool
fn eq(&self, other: &CAMERA_INFORMATION_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CAMERA_INFORMATION_DATA
impl Serialize for CAMERA_INFORMATION_DATA
impl StructuralPartialEq for CAMERA_INFORMATION_DATA
Auto Trait Implementations§
impl Freeze for CAMERA_INFORMATION_DATA
impl RefUnwindSafe for CAMERA_INFORMATION_DATA
impl Send for CAMERA_INFORMATION_DATA
impl Sync for CAMERA_INFORMATION_DATA
impl Unpin for CAMERA_INFORMATION_DATA
impl UnwindSafe for CAMERA_INFORMATION_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§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
)