blob: cba166facf4f225bd29ee823d14c365105498fd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#[repr(packed)]
pub struct P1S5 {
a: u8,
b: u32
}
#[repr(packed(2))]
pub struct P2S6 {
a: u8,
b: u32,
c: u8
}
#[repr(C, packed(2))]
pub struct P2CS8 {
a: u8,
b: u32,
c: u8
}
|