Transposing other language paradigms to Rust often reveals ... [&cat as &dyn Animal, &lion as &dyn Animal]; for animal in animals.iter() ...
確定! 回上一頁