It is the same case as `as_ref` and `as_slice`. If `as_ref` has the inline attribute, `as_mut` I think it should also.