[][src]Struct multiwii_serial_protocol_v2::structs::MspServoConfig

pub struct MspServoConfig {
    pub min: u16,
    pub max: u16,
    pub middle: u16,
    pub rate: i8,
    pub unused1: u8,
    pub unused2: u8,
    pub forward_from_channel: u8,
    pub reverse_input: u32,
}

Fields

min: u16max: u16middle: u16rate: i8unused1: u8unused2: u8forward_from_channel: u8reverse_input: u32

Implementations

impl MspServoConfig[src]

pub fn packed_struct_display_formatter<'a>(
    &'a self
) -> PackedStructDisplay<'a, Self, [u8; 14]>
[src]

Display formatter for console applications

Trait Implementations

impl Clone for MspServoConfig[src]

impl Copy for MspServoConfig[src]

impl Debug for MspServoConfig[src]

impl Display for MspServoConfig[src]

impl PackedStruct<[u8; 14]> for MspServoConfig[src]

Structure that can be packed an unpacked into 14 bytes.

Bit, MSB0NameType
0:15minu16
16:31maxu16
32:47middleu16
48:55ratei8
56:63unused1u8
64:71unused2u8
72:79forward_from_channelu8
80:111reverse_inputu32

impl PackedStructDebug for MspServoConfig[src]

impl PackedStructInfo for MspServoConfig[src]

impl PackedStructSlice for MspServoConfig[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> 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> ToString for T where
    T: Display + ?Sized
[src]

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.