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

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>,
}

id: 259 Information about a camera.

Fields

time_boot_ms: u32

id: 259 Information about a camera.

firmware_version: u32

id: 259 Information about a camera.

focal_length: f32

id: 259 Information about a camera.

sensor_size_h: f32

id: 259 Information about a camera.

sensor_size_v: f32

id: 259 Information about a camera.

flags: CameraCapFlags

id: 259 Information about a camera.

resolution_h: u16

id: 259 Information about a camera.

resolution_v: u16

id: 259 Information about a camera.

cam_definition_version: u16

id: 259 Information about a camera.

vendor_name: [u8; 32]

id: 259 Information about a camera.

model_name: [u8; 32]

id: 259 Information about a camera.

lens_id: u8

id: 259 Information about a camera.

cam_definition_uri: Vec<char>

id: 259 Information about a camera.

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.