Utility Trait is The grap bag of traits which have enough impact while writing idiomatic(관용적인) code. Utility trait can broadly categorized into three
한 번만 쓸 수 있는 synchronization primitive (기본 요소)이다. static하고 thread-safe하다.
여러 변수가 소유권을 공유할 수 있는 포인터이다. C++의 shared_ptr에 해당한다. 또한 python에서 garbafe collector가 리스트를 관리하는 방법이기도 하다.사진과 같이 list에는 reference count가 몇 개의 변수가 리스트를 참조하고
Modules Cheat Sheet Crate root: crate를 컴파일할 때 crate root file을 맨 처음 확인한다. library crate은 src/lib.rs을, binary crate은 src/main.rs을 crate root file로 인식한다
한 가지와 나머지를 matching하는 pattern에서 깔끔하게 handle할 수 있는 if let syntax에 관하여
Match Cotrol Flow Construct Rust에는 매칭되는 pattern에 따라 코드가 실행되도록 하는 좋은 control flow construct match에 관해서
Rust Defining and Instantiating Struct에 대해
Rust References and Borrowing (참조와 빌림)에 대해