Struct mavlink::common::CAMERA_INFORMATION_DATA[][src]

pub struct CAMERA_INFORMATION_DATA {
    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: Vec<char>,
}

Fields

time_boot_ms: u32firmware_version: u32focal_length: f32sensor_size_h: f32sensor_size_v: f32flags: CameraCapFlagsresolution_h: u16resolution_v: u16cam_definition_version: u16vendor_name: [u8; 32]model_name: [u8; 32]lens_id: u8cam_definition_uri: Vec<char>

Implementations

impl CAMERA_INFORMATION_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for CAMERA_INFORMATION_DATA[src]

impl Debug for CAMERA_INFORMATION_DATA[src]

impl Default for CAMERA_INFORMATION_DATA[src]

impl<'de> Deserialize<'de> for CAMERA_INFORMATION_DATA[src]

impl PartialEq<CAMERA_INFORMATION_DATA> for CAMERA_INFORMATION_DATA[src]

impl Serialize for CAMERA_INFORMATION_DATA[src]

impl StructuralPartialEq for CAMERA_INFORMATION_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.