add reflect for SocketAddr (#18676)

This commit is contained in:
Periwink 2025-04-02 23:51:20 -04:00 committed by François Mockers
parent ed28b5ccf7
commit 2771803cbd

View File

@ -1208,6 +1208,14 @@ macro_rules! impl_reflect_for_hashset {
impl_type_path!(::bevy_platform_support::hash::NoOpHash);
impl_type_path!(::bevy_platform_support::hash::FixedHasher);
impl_reflect_opaque!(::core::net::SocketAddr(
Clone,
Debug,
Hash,
PartialEq,
Serialize,
Deserialize
));
#[cfg(feature = "std")]
impl_reflect_for_hashset!(::std::collections::HashSet<V,S>);