Rust 以其安全性为重点,为不同的类型之间的转换提供了不同的方法。 ... 0u8, 0u8, 0u8]; let b = mem::transmute::<[u8; 4], u64>(a); }.
確定! 回上一頁