CANWrite

Trait CANWrite 

Source
pub trait CANWrite: CANRead {
    // Required method
    fn mut_data(&mut self) -> &mut [u8] ;
}
Expand description

A trait providing methods for accessing the underlying data in a mutable fashion.

Required Methods§

Source

fn mut_data(&mut self) -> &mut [u8]

Returns a mutable slice representing the mutable data.

Implementations on Foreign Types§

Source§

impl CANWrite for &mut [u8]

Source§

fn mut_data(&mut self) -> &mut [u8]

Source§

impl CANWrite for Vec<u8>

Source§

fn mut_data(&mut self) -> &mut [u8]

Source§

impl<const N: usize> CANWrite for [u8; N]

Source§

fn mut_data(&mut self) -> &mut [u8]

Implementors§