Skip to main content

SerialiseBuffer

Type Alias SerialiseBuffer 

Source
pub type SerialiseBuffer = BitArray<[u8; 7], Msb0>;
Expand description

Buffer long enough to serialise any common DCC packet into

Aliased Type§

#[repr(transparent)]
pub struct SerialiseBuffer { pub _ord: PhantomData<Msb0>, pub data: [u8; 7], }

Fields§

§_ord: PhantomData<Msb0>

The ordering of bits within an A::Store element.

§data: [u8; 7]

The wrapped data buffer.