In order to translate this in to Rust, we need to take out what makes up an animal and put that functionality into traits. trait Speaks { fn speak(&self); ...
確定! 回上一頁