pub struct MspSetGetOsdConfig {
pub item_index: u8,
pub config: MspOsdConfig,
}Fields§
§item_index: u8§config: MspOsdConfigImplementations§
Source§impl MspSetGetOsdConfig
impl MspSetGetOsdConfig
Sourcepub fn packed_struct_display_formatter<'a>(
&'a self,
) -> PackedStructDisplay<'a, Self, [u8; 14]>
pub fn packed_struct_display_formatter<'a>( &'a self, ) -> PackedStructDisplay<'a, Self, [u8; 14]>
Display formatter for console applications
Trait Implementations§
Source§impl Clone for MspSetGetOsdConfig
impl Clone for MspSetGetOsdConfig
Source§fn clone(&self) -> MspSetGetOsdConfig
fn clone(&self) -> MspSetGetOsdConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MspSetGetOsdConfig
impl Debug for MspSetGetOsdConfig
Source§impl Display for MspSetGetOsdConfig
impl Display for MspSetGetOsdConfig
Source§impl PackedStruct<[u8; 14]> for MspSetGetOsdConfig
Structure that can be packed an unpacked into 14 bytes.
impl PackedStruct<[u8; 14]> for MspSetGetOsdConfig
Structure that can be packed an unpacked into 14 bytes.
| Bit, MSB0 | Name | Type |
| 0:7 | item_index | u8 |
| 8:111 | config | MspOsdConfig |
Source§impl PackedStructInfo for MspSetGetOsdConfig
impl PackedStructInfo for MspSetGetOsdConfig
Source§fn packed_bits() -> usize
fn packed_bits() -> usize
Number of bits that this structure occupies when being packed.
Source§impl PackedStructSlice for MspSetGetOsdConfig
impl PackedStructSlice for MspSetGetOsdConfig
Source§fn pack_to_slice(&self, output: &mut [u8]) -> Result<(), PackingError>
fn pack_to_slice(&self, output: &mut [u8]) -> Result<(), PackingError>
Pack the structure into an output buffer.
Source§fn unpack_from_slice(src: &[u8]) -> Result<Self, PackingError>
fn unpack_from_slice(src: &[u8]) -> Result<Self, PackingError>
Unpack the structure from a buffer.
Source§fn packed_bytes() -> usize
fn packed_bytes() -> usize
Number of bytes that this structure demands for packing or unpacking.
Source§fn pack_to_vec(&self) -> Result<Vec<u8>, PackingError>
fn pack_to_vec(&self) -> Result<Vec<u8>, PackingError>
Pack the structure into a new byte vector.
impl Copy for MspSetGetOsdConfig
Auto Trait Implementations§
impl Freeze for MspSetGetOsdConfig
impl RefUnwindSafe for MspSetGetOsdConfig
impl Send for MspSetGetOsdConfig
impl Sync for MspSetGetOsdConfig
impl Unpin for MspSetGetOsdConfig
impl UnsafeUnpin for MspSetGetOsdConfig
impl UnwindSafe for MspSetGetOsdConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more