Skip to content

Commit 2771803

Browse files
cBournhonesquemockersf
authored andcommitted
add reflect for SocketAddr (#18676)
1 parent ed28b5c commit 2771803

File tree

1 file changed

+8
-0
lines changed
  • crates/bevy_reflect/src/impls

1 file changed

+8
-0
lines changed

crates/bevy_reflect/src/impls/std.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,14 @@ macro_rules! impl_reflect_for_hashset {
12081208

12091209
impl_type_path!(::bevy_platform_support::hash::NoOpHash);
12101210
impl_type_path!(::bevy_platform_support::hash::FixedHasher);
1211+
impl_reflect_opaque!(::core::net::SocketAddr(
1212+
Clone,
1213+
Debug,
1214+
Hash,
1215+
PartialEq,
1216+
Serialize,
1217+
Deserialize
1218+
));
12111219

12121220
#[cfg(feature = "std")]
12131221
impl_reflect_for_hashset!(::std::collections::HashSet<V,S>);

0 commit comments

Comments
 (0)