Instead of implementing Deref , you could have a method that returns ... fmt::Result { write!(f, "{}", self.0.borrow()) } } impl Deref for ...
確定! 回上一頁