`Centimeters`,可以比较的元组结构体. #[derive(PartialEq, PartialOrd)]. struct Centimeters(f64);. // `Inches`,可以打印的元组结构体. #[derive(Debug)].
確定! 回上一頁