Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.
These functions were added to all preludes in Rust 1.80.
|
||
|---|---|---|
| .. | ||
| windows | ||
| hermit.rs | ||
| mod.rs | ||
| sgx.rs | ||
| solid.rs | ||
| uefi.rs | ||
| unix.rs | ||
| wasm.rs | ||
| windows.rs | ||
| xous.rs | ||
| zkvm.rs | ||