可以用如下方法给rust的struct默认值方法1,使用Default::default()给变量赋值:fn main(){let i: i8 = Default::default();let (x, ...
確定! 回上一頁