iterator

  • 迭代器模式

    Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.(提供一种方法,访问一个容器对象中各个元素,而又不需要暴露该对象的内部细节。)

  • Rust iterator 迭代器

    程序中,迭代器负责遍历每一个项。Rust的迭代器是惰性的,仅当调用迭代器的方法时才生效。

    2022-06-04 rust rust,iterator
本文总阅读量 次 本站总访问量 次 本站总访客数