@@ -2,8 +2,8 @@ use crate::std_traits::ReflectDefault;
2
2
use crate :: { self as bevy_reflect, ReflectFromPtr , ReflectFromReflect , ReflectOwned } ;
3
3
use crate :: {
4
4
impl_type_path, map_apply, map_partial_eq, Array , ArrayInfo , ArrayIter , DynamicEnum ,
5
- DynamicMap , DynamicTypePath , Enum , EnumInfo , FromReflect , FromType , GetTypeRegistration , List ,
6
- ListInfo , ListIter , Map , MapInfo , MapIter , Reflect , ReflectDeserialize , ReflectMut , ReflectRef ,
5
+ DynamicMap , Enum , EnumInfo , FromReflect , FromType , GetTypeRegistration , List , ListInfo ,
6
+ ListIter , Map , MapInfo , MapIter , Reflect , ReflectDeserialize , ReflectMut , ReflectRef ,
7
7
ReflectSerialize , TupleVariantInfo , TypeInfo , TypePath , TypeRegistration , Typed ,
8
8
UnitVariantInfo , UnnamedField , ValueInfo , VariantFieldIter , VariantInfo , VariantType ,
9
9
} ;
@@ -332,11 +332,6 @@ macro_rules! impl_reflect_for_veclike {
332
332
Some ( <Self as Typed >:: type_info( ) )
333
333
}
334
334
335
- #[ inline]
336
- fn get_type_path( & self ) -> & dyn DynamicTypePath {
337
- self
338
- }
339
-
340
335
fn into_any( self : Box <Self >) -> Box <dyn Any > {
341
336
self
342
337
}
@@ -555,10 +550,6 @@ macro_rules! impl_reflect_for_hashmap {
555
550
Some ( <Self as Typed >:: type_info( ) )
556
551
}
557
552
558
- fn get_type_path( & self ) -> & dyn DynamicTypePath {
559
- self
560
- }
561
-
562
553
fn into_any( self : Box <Self >) -> Box <dyn Any > {
563
554
self
564
555
}
@@ -721,11 +712,6 @@ impl<T: Reflect + TypePath, const N: usize> Reflect for [T; N] {
721
712
Some ( <Self as Typed >:: type_info ( ) )
722
713
}
723
714
724
- #[ inline]
725
- fn get_type_path ( & self ) -> & dyn DynamicTypePath {
726
- self
727
- }
728
-
729
715
#[ inline]
730
716
fn into_any ( self : Box < Self > ) -> Box < dyn Any > {
731
717
self
@@ -943,11 +929,6 @@ impl<T: FromReflect + TypePath> Reflect for Option<T> {
943
929
Some ( <Self as Typed >:: type_info ( ) )
944
930
}
945
931
946
- #[ inline]
947
- fn get_type_path ( & self ) -> & dyn DynamicTypePath {
948
- self
949
- }
950
-
951
932
#[ inline]
952
933
fn into_any ( self : Box < Self > ) -> Box < dyn Any > {
953
934
self
@@ -1115,11 +1096,6 @@ impl Reflect for Cow<'static, str> {
1115
1096
Some ( <Self as Typed >:: type_info ( ) )
1116
1097
}
1117
1098
1118
- #[ inline]
1119
- fn get_type_path ( & self ) -> & dyn DynamicTypePath {
1120
- self
1121
- }
1122
-
1123
1099
fn into_any ( self : Box < Self > ) -> Box < dyn Any > {
1124
1100
self
1125
1101
}
@@ -1252,11 +1228,6 @@ impl Reflect for &'static Path {
1252
1228
Some ( <Self as Typed >:: type_info ( ) )
1253
1229
}
1254
1230
1255
- #[ inline]
1256
- fn get_type_path ( & self ) -> & dyn DynamicTypePath {
1257
- self
1258
- }
1259
-
1260
1231
fn into_any ( self : Box < Self > ) -> Box < dyn Any > {
1261
1232
self
1262
1233
}
@@ -1366,11 +1337,6 @@ impl Reflect for Cow<'static, Path> {
1366
1337
std:: any:: type_name :: < Self > ( )
1367
1338
}
1368
1339
1369
- #[ inline]
1370
- fn get_type_path ( & self ) -> & dyn DynamicTypePath {
1371
- self
1372
- }
1373
-
1374
1340
fn get_represented_type_info ( & self ) -> Option < & ' static TypeInfo > {
1375
1341
Some ( <Self as Typed >:: type_info ( ) )
1376
1342
}
0 commit comments