当我们想要使用方法语法并禁用智能指针优化时,这会很好。
fn foo(*const self) // this would not let smart pointer optimizations
rust
rust ×1