rust - Auto-dereferenziazione. ... Our wrapper struct will coerce into Option fn deref(&self) -> &Option<T> { &self.0 // We just extract the inner element } ...
確定! 回上一頁