pub struct SpectrumLowLevelEvent {
pub spectrum_length: u16,
pub spectrum_chunk_offset: u16,
pub spectrum_chunk_data: [u16; 30],
}
Fields§
§spectrum_length: u16
§spectrum_chunk_offset: u16
§spectrum_chunk_data: [u16; 30]
Trait Implementations§
Source§impl Clone for SpectrumLowLevelEvent
impl Clone for SpectrumLowLevelEvent
Source§fn clone(&self) -> SpectrumLowLevelEvent
fn clone(&self) -> SpectrumLowLevelEvent
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 Debug for SpectrumLowLevelEvent
impl Debug for SpectrumLowLevelEvent
Source§impl Default for SpectrumLowLevelEvent
impl Default for SpectrumLowLevelEvent
Source§fn default() -> SpectrumLowLevelEvent
fn default() -> SpectrumLowLevelEvent
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for SpectrumLowLevelEvent
impl FromByteSlice for SpectrumLowLevelEvent
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]) -> SpectrumLowLevelEvent
fn from_le_byte_slice(bytes: &[u8]) -> SpectrumLowLevelEvent
Deserialize the implementing type from a byte slice.
Source§impl Hash for SpectrumLowLevelEvent
impl Hash for SpectrumLowLevelEvent
Source§impl LowLevelRead<u16, SpectrumResult> for SpectrumLowLevelEvent
impl LowLevelRead<u16, SpectrumResult> for SpectrumLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u16]
fn get_result(&self) -> SpectrumResult
Source§impl PartialEq for SpectrumLowLevelEvent
impl PartialEq for SpectrumLowLevelEvent
impl Copy for SpectrumLowLevelEvent
impl Eq for SpectrumLowLevelEvent
impl StructuralPartialEq for SpectrumLowLevelEvent
Auto Trait Implementations§
impl Freeze for SpectrumLowLevelEvent
impl RefUnwindSafe for SpectrumLowLevelEvent
impl Send for SpectrumLowLevelEvent
impl Sync for SpectrumLowLevelEvent
impl Unpin for SpectrumLowLevelEvent
impl UnwindSafe for SpectrumLowLevelEvent
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