You first need to convert the pointer into a slice, using unsafe code: use std::slice; // manifest a slice out of thin air! let ptr = 0x1234 as const *u16; ...
確定! 回上一頁