As of Rust 1.22.0 mem::size_of is now declared as a const fn, which means that it is guaranteed to be able to be evaluated at compile time.
確定! 回上一頁