The Ultimate Guide to self, Self in Rust
The starting block for most Rust application are impl and traits. While writing out impl and traits, you'll see Self, self and their counterpart with the borrow sign &self, &Self. While Self is mostly used for denoting a Rust type, &self can either b...
Jul 12, 20216 min read2.2K



