Struct uavcan_core::can_frame::CanFrame
[−]
[src]
pub struct CanFrame { pub id: CanID, pub dlc: usize, pub data: [u8; 8], }
Fields
id: CanID
dlc: usize
data: [u8; 8]
Trait Implementations
impl Debug for CanFrame
[src]
impl PartialEq for CanFrame
[src]
fn eq(&self, __arg_0: &CanFrame) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CanFrame) -> bool
This method tests for !=
.
impl TransportFrame for CanFrame
[src]
fn with_data(id: u32, data: &[u8]) -> CanFrame
with_data(id: u32, data: &[u]) -> TransportFrame creates a TransportFrame with an 28 bits ID and data between 0 and the return value ofget_max_data_length() Read more