pinapod 0.4.3

Zero-copy pod types with derive macros. Alignment-1 representations for zero-overhead data access.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use pinapod::PinaPod;

#[derive(PinaPod)]
#[pinapod(compact, crate = pinapod)]
struct InlineOnly {
	#[pinapod(skip_patch)]
	discriminator: [u8; 8],
	revision: u64,
}

fn main() {
	let _ = InlineOnlyPatch::new().revision(1);
}