add missing into_inner to ReflectMut (#3841)

`Mut<T>`, `ResMut<T>` etc. have `.into_inner()` methods, but `ReflectMut` doesn't for some reason.
This commit is contained in:
Jakob Hellermann 2022-02-04 03:37:45 +00:00
parent 1477765f62
commit 3431335ee9

View file

@ -197,3 +197,5 @@ pub struct ReflectMut<'a> {
#[cfg(feature = "bevy_reflect")]
change_detection_impl!(ReflectMut<'a>, dyn Reflect,);
#[cfg(feature = "bevy_reflect")]
impl_into_inner!(ReflectMut<'a>, dyn Reflect,);