derive_deref. This crate adds a simple #[derive(Deref)] and #[derive(DerefMut)] . It can be used on any struct with exactly one field.
確定! 回上一頁