#[repr(C)]pub struct PamojaJ1939Signals {
pub bytes: [u8; 8],
}Expand description
The eight data bytes of a J1939 frame, addressed by the signals inside them.
A parameter group places each signal at a fixed byte offset, little-endian. The payload is only bytes, so it crosses the boundary by value, which keeps reading and writing a signal free of any allocation.
Fields§
§bytes: [u8; 8]The eight data bytes, in wire order.
Trait Implementations§
Source§impl Clone for PamojaJ1939Signals
impl Clone for PamojaJ1939Signals
Source§fn clone(&self) -> PamojaJ1939Signals
fn clone(&self) -> PamojaJ1939Signals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaJ1939Signals
Source§impl Debug for PamojaJ1939Signals
impl Debug for PamojaJ1939Signals
impl Eq for PamojaJ1939Signals
Source§impl PartialEq for PamojaJ1939Signals
impl PartialEq for PamojaJ1939Signals
Source§fn eq(&self, other: &PamojaJ1939Signals) -> bool
fn eq(&self, other: &PamojaJ1939Signals) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaJ1939Signals
Auto Trait Implementations§
impl Freeze for PamojaJ1939Signals
impl RefUnwindSafe for PamojaJ1939Signals
impl Send for PamojaJ1939Signals
impl Sync for PamojaJ1939Signals
impl Unpin for PamojaJ1939Signals
impl UnsafeUnpin for PamojaJ1939Signals
impl UnwindSafe for PamojaJ1939Signals
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