4

MapWhile in std::iter - Rust

 2 years ago
source link: https://doc.rust-lang.org/std/iter/struct.MapWhile.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Struct std::iter::MapWhile1.57.0[−][src]

pub struct MapWhile<I, P> { /* fields omitted */ }

An iterator that only accepts elements while predicate returns Some(_).

This struct is created by the map_while method on Iterator. See its documentation for more.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK