J
jeremy
Video
The Deref Trait for Smart Pointers in Rust
The Deref trait in Rust lets a custom type customize the behavior of the dereference operator, allowing smart pointers (types that own or point to data) to be treated like ordinary references: implem…