Explaining Rust’s Deref trait
Deref is an interesting one. Depending on your perspective, or mood, it either provides a lot of frustration because of hidden control flow or a lot of delight because it adds a lot of convenience.
Deref is an interesting one. Depending on your perspective, or mood, it either provides a lot of frustration because of hidden control flow or a lot of delight because it adds a lot of convenience.