String 被存储为由字节组成的vector( Vec<u8> ),但保证了它一定是一个有效的UTF-8 序列。 String 是堆分配的,可增长的,且不是零结尾的(null terminated)。 &str 是 ...
確定! 回上一頁