好好爱自己!

摘要: 原文:https://www.educative.io/edpresso/modules-in-rust In Rust, modules are containers that enclose zero or more items (i.e., functions, structs, traits 阅读全文
posted @ 2021-11-24 23:56 立志做一个好的程序员 阅读(110) 评论(0) 推荐(0)
摘要: 原文:https://www.educative.io/edpresso/options-in-rust The Option<T> enum in Rust can cater to two variants: None: represents a lack of value or if an e 阅读全文
posted @ 2021-11-24 23:54 立志做一个好的程序员 阅读(106) 评论(0) 推荐(0)
摘要: 原文:https://www.educative.io/edpresso/what-are-traits-in-rust A trait in Rust is a group of methods that are defined for a particular type. Traits are 阅读全文
posted @ 2021-11-24 23:26 立志做一个好的程序员 阅读(408) 评论(0) 推荐(0)
摘要: 原文:https://www.educative.io/edpresso/what-is-the-impl-keyword-in-rust The impl keyword in Rust is used to implement some functionality on types. This 阅读全文
posted @ 2021-11-24 23:24 立志做一个好的程序员 阅读(440) 评论(0) 推荐(0)

不断学习创作,与自己快乐相处