Posts
All the articles I've posted.
Rust 计算属性 (computed properties) 最佳实践
Published: at 03:10 AM所谓计算属性, 即需要根据已有数据计算的属性. Swift 和 JavaScript 之类的语言原生支持, 但 Rust 里需要明确的模式. 本指南涵盖了五种在 Rust 中实现计算属性的方法, 包括适用于并发代码的线程安全的解决方案.
Using 'Arc<str>': you CANNOT compare '&Arc<str>' with '&str'
Published: at 04:52 PMerror[E0277]: can't compare `Arc<str>` with `str`
TODOs
Updated: at 04:50 PMMy Current TODOs