1use std::convert::TryFrom; 2 3struct GreaterThanZero(i32); 4 5impl TryFrom<i32> for GreaterThanZero { 6 type Error = &'static str; 7 8 fn try_from(value: ...
確定! 回上一頁