top | item 40508478 (no title) pitterpatter | 1 year ago Yes, Rust supports annotating your types with a `#[repr(...)]` attribute to control how it gets laid out in memory. There's a "C" repr that gives you representations interoperable with C.https://doc.rust-lang.org/reference/type-layout.html#the-c-r... discuss order hn newest No comments yet.
No comments yet.