pub trait Iter<Item>: Iterator<Item = Item> { // Provided method fn qtmd(self) -> Qtmd<Item, Self> ⓘ where Self: Sized { ... } }
4 5 6 7 8
fn main() { for _ in (0..).take(10000).qtmd().style(Style::Balloon) { sleep(Duration::from_millis(1)); } }