关于 rust trait 非常好的介绍,比 rust book 详细,系统。
[…] Have you ever wondered what’s the difference between:
[…] Or ever asked yourself the questions:
[…] Well then this is the article …
Associated Type and generic diff in rust
[…] a type Foo = Bar outside is just type alias. most used in generic type.
[…] like: type Thunk = Box<dyn Fn() + Send + 'static>; …
some notes on rust ownership,reference,string and &str, and lifetimes
[…] //heap and stack: stack is store data that known,fixed size. //memory manager keeping track of what parts of code …
初学 rust 对于项目的 package 和 crate 的关系,module 和文件的关系有点理不清。做了一点笔记。
[…] A Cargo.toml is a package. and must have a package name, defined in [package] table:
[…] [package] name = …