例子:計算矩形面積#[derive(Debug)] //需要在結構體定義之前加上外部屬性#[derive(Debug)],結構體才能以Debug格式輸出struct Rectangle { w.
確定! 回上一頁