Derive Macro Batcher
Source #[derive(Batcher)]
{
#[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,
}