[][src]Struct multiwii_serial_protocol_v2::structs::MspSetOsdLayout

pub struct MspSetOsdLayout {
    pub item_index: u8,
    pub item: MspOsdItemPosition,
}

Fields

item_index: u8item: MspOsdItemPosition

Implementations

impl MspSetOsdLayout[src]

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

Display formatter for console applications

Trait Implementations

impl Clone for MspSetOsdLayout[src]

impl Copy for MspSetOsdLayout[src]

impl Debug for MspSetOsdLayout[src]

impl Display for MspSetOsdLayout[src]

impl PackedStruct<[u8; 3]> for MspSetOsdLayout[src]

Structure that can be packed an unpacked into 3 bytes.

Bit, MSB0NameType
0:7item_indexu8
8:23itemMspOsdItemPosition

impl PackedStructDebug for MspSetOsdLayout[src]

impl PackedStructInfo for MspSetOsdLayout[src]

impl PackedStructSlice for MspSetOsdLayout[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.