trait
dz / rust / std / iter / traitNode Tree
Nodes
copied | |
content | copied: creates an iterator which copies all of its elements. This is useful when you have an itnerator over =T=, but need an iterator over =&T=. |
children | links/four_limitations_rust_borrow_checker/outline/3_fnmut_reborrowing_captures_disallowed (iterator from previous section modified to pass everything,by value instead of by reference using copied method) |
hyperlink | https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.copied |
location | knowledge/rust.dz:217 |