1mod arena;
2pub mod block;
3pub mod block_header;
4mod constructor;
5mod field_layout;
6mod fixed;
7pub mod flexible_array;
8pub mod global;
9pub mod local;
10pub mod manager;
11pub mod mut_ref;
12pub mod object;
13pub mod optional_block;
14pub mod optional_ref;
15pub mod ref_;
16mod ref_counter_update;
17
18#[cfg(test)]
19mod test {
20 use std::mem::{align_of, size_of};
21
22 struct _MyStruct {
23 a: u8, b: u16, c: u8, d: u8,
27 }
28
29 const _: () = assert!(size_of::<_MyStruct>() == 6);
30 const _: () = assert!(align_of::<_MyStruct>() == 2);
31}