pub struct LedValuesLowLevel {
pub value_length: u16,
pub value_chunk_offset: u16,
pub value_chunk_data: [u8; 60],
}
Fields§
§value_length: u16
§value_chunk_offset: u16
§value_chunk_data: [u8; 60]
Trait Implementations§
source§impl Clone for LedValuesLowLevel
impl Clone for LedValuesLowLevel
source§fn clone(&self) -> LedValuesLowLevel
fn clone(&self) -> LedValuesLowLevel
Returns a copy 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 FromByteSlice for LedValuesLowLevel
impl FromByteSlice for LedValuesLowLevel
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> LedValuesLowLevel
fn from_le_byte_slice(bytes: &[u8]) -> LedValuesLowLevel
Deserialize the implementing type from a byte slice.
source§impl LowLevelRead<u8, LedValuesResult> for LedValuesLowLevel
impl LowLevelRead<u8, LedValuesResult> for LedValuesLowLevel
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u8] ⓘ
fn get_result(&self) -> LedValuesResult
impl Copy for LedValuesLowLevel
Auto Trait Implementations§
impl RefUnwindSafe for LedValuesLowLevel
impl Send for LedValuesLowLevel
impl Sync for LedValuesLowLevel
impl Unpin for LedValuesLowLevel
impl UnwindSafe for LedValuesLowLevel
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