Struct tinkerforge::rs485_bricklet::ReadLowLevel
source · pub struct ReadLowLevel {
pub message_length: u16,
pub message_chunk_offset: u16,
pub message_chunk_data: [char; 60],
}
Fields
message_length: u16
message_chunk_offset: u16
message_chunk_data: [char; 60]
Trait Implementations
sourceimpl Clone for ReadLowLevel
impl Clone for ReadLowLevel
sourcefn clone(&self) -> ReadLowLevel
fn clone(&self) -> ReadLowLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl FromByteSlice for ReadLowLevel
impl FromByteSlice for ReadLowLevel
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> ReadLowLevel
fn from_le_bytes(bytes: &[u8]) -> ReadLowLevel
Deserialize the implementing type from a byte slice.
sourceimpl LowLevelRead<char, ReadResult> for ReadLowLevel
impl LowLevelRead<char, ReadResult> for ReadLowLevel
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[char]
fn get_result(&self) -> ReadResult
impl Copy for ReadLowLevel
Auto Trait Implementations
impl RefUnwindSafe for ReadLowLevel
impl Send for ReadLowLevel
impl Sync for ReadLowLevel
impl Unpin for ReadLowLevel
impl UnwindSafe for ReadLowLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more