<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>클로저 on wid's blog</title><link>https://wid-blog.github.io/tags/%ED%81%B4%EB%A1%9C%EC%A0%80/</link><description>Recent content in 클로저 on wid's blog</description><generator>Hugo</generator><language>ko</language><lastBuildDate>Tue, 17 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/tags/%ED%81%B4%EB%A1%9C%EC%A0%80/index.xml" rel="self" type="application/rss+xml"/><item><title>Rust 클로저와 iterator</title><link>https://wid-blog.github.io/posts/tech/language/rust-closures-iterators/</link><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/language/rust-closures-iterators/</guid><description>클로저는 캡처한 값을 필드로 가진 struct 이고, 본문이 그 값을 읽는지·바꾸는지·소비하는지에 따라 Fn·FnMut·FnOnce 가 정해진다. iterator 어댑터는 그 클로저를 필드로 가진 struct 를 쌓을 뿐이고, collect 같은 소비 메서드가 next 를 부를 때 원소 하나씩 체인을 지난다. Rust 공부 시리즈의 여섯 번째 글.</description></item></channel></rss>