In Python, I can use yield as in the following example (from Python's ... Then you can rewrite it in Rust with a struct that implements the Iterator trait.
確定! 回上一頁