对 Rust 来说普通函数就是一段代码。而 closure 和C++ 类似:每个 closure 会创建一个匿名的 struct ,编译器会在当前 上下文 Context 捕获 closure 代码 ...
確定! 回上一頁