API documentation for the Rust `size_of` fn in crate `memory_units`. ... struct Hello { a: u32, b: u32, } assert_eq!(size_of::<Hello>(), Bytes(4 + 4)); ...
確定! 回上一頁