Batcher

Derive Macro Batcher 

Source
#[derive(Batcher)]
{
    // Attributes available to this derive:
    #[batch]
}
Expand description

Auto implement a function to batch read fields from a struct.

§Example


#[derive(Batcher)]
struct FooBar {
   #[batch(offset = 0x20)]
   foo: u32,
   #[batch(offset = 0x1f0)]
   bar: u32,
}