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
sourceimpl Clone for SpectrumLowLevelEvent
impl Clone for SpectrumLowLevelEvent
sourcefn clone(&self) -> SpectrumLowLevelEvent
fn clone(&self) -> SpectrumLowLevelEvent
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 Debug for SpectrumLowLevelEvent
impl Debug for SpectrumLowLevelEvent
sourceimpl Default for SpectrumLowLevelEvent
impl Default for SpectrumLowLevelEvent
sourcefn default() -> SpectrumLowLevelEvent
fn default() -> SpectrumLowLevelEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for SpectrumLowLevelEvent
impl FromByteSlice for SpectrumLowLevelEvent
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]) -> SpectrumLowLevelEvent
fn from_le_bytes(bytes: &[u8]) -> SpectrumLowLevelEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for SpectrumLowLevelEvent
impl Hash for SpectrumLowLevelEvent
sourceimpl 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
sourceimpl PartialEq<SpectrumLowLevelEvent> for SpectrumLowLevelEvent
impl PartialEq<SpectrumLowLevelEvent> for SpectrumLowLevelEvent
sourcefn eq(&self, other: &SpectrumLowLevelEvent) -> bool
fn eq(&self, other: &SpectrumLowLevelEvent) -> bool
impl Copy for SpectrumLowLevelEvent
impl Eq for SpectrumLowLevelEvent
impl StructuralEq for SpectrumLowLevelEvent
impl StructuralPartialEq for SpectrumLowLevelEvent
Auto Trait Implementations
impl RefUnwindSafe for SpectrumLowLevelEvent
impl Send for SpectrumLowLevelEvent
impl Sync for SpectrumLowLevelEvent
impl Unpin for SpectrumLowLevelEvent
impl UnwindSafe for SpectrumLowLevelEvent
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