This mechanism is called ' Deref coercion'. In mutable contexts, DerefMut is used. Implementing Deref for smart pointers makes accessing the data behind them ...
確定! 回上一頁