pub struct Message { /* private fields */ }
Expand description
CAN message (frame) details including signal details
Implementations§
source§impl Message
impl Message
Auto-generated by derive_getters::Getters
.
sourcepub fn message_id(&self) -> &MessageId
pub fn message_id(&self) -> &MessageId
CAN id in header of CAN frame. Must be unique in DBC file.
sourcepub fn message_name(&self) -> &String
pub fn message_name(&self) -> &String
Get field message_name
from instance of Message
.
sourcepub fn message_size(&self) -> &u64
pub fn message_size(&self) -> &u64
Get field message_size
from instance of Message
.
sourcepub fn transmitter(&self) -> &Transmitter
pub fn transmitter(&self) -> &Transmitter
Get field transmitter
from instance of Message
.
Trait Implementations§
source§impl PartialEq for Message
impl PartialEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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