[][src]Struct mavlink::common::CAMERA_SETTINGS_DATA

pub struct CAMERA_SETTINGS_DATA {
    pub time_boot_ms: u32,
    pub mode_id: CameraMode,
    pub zoomLevel: f32,
    pub focusLevel: f32,
}

id: 260 Settings of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..

Fields

time_boot_ms: u32

Timestamp (time since system boot)..

mode_id: CameraMode

Camera mode.

zoomLevel: f32

Current zoom level (0.0 to 100.0, NaN if not known).

focusLevel: f32

Current focus level (0.0 to 100.0, NaN if not known).

Implementations

impl CAMERA_SETTINGS_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_SETTINGS_DATA[src]

impl Debug for CAMERA_SETTINGS_DATA[src]

impl Default for CAMERA_SETTINGS_DATA[src]

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

impl PartialEq<CAMERA_SETTINGS_DATA> for CAMERA_SETTINGS_DATA[src]

impl Serialize for CAMERA_SETTINGS_DATA[src]

impl StructuralPartialEq for CAMERA_SETTINGS_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.