bevy_reflect/impls/bevy_platform/collections/
hash_set.rs

1use bevy_reflect_derive::impl_type_path;
2
3use crate::impls::macros::impl_reflect_for_hashset;
4#[cfg(feature = "functions")]
5use crate::{from_reflect::FromReflect, type_path::TypePath, type_registry::GetTypeRegistration};
6#[cfg(feature = "functions")]
7use core::hash::{BuildHasher, Hash};
8
9impl_reflect_for_hashset!(::bevy_platform::collections::HashSet<V,S>);
10impl_type_path!(::bevy_platform::collections::HashSet<V, S>);
11#[cfg(feature = "functions")]
12crate::func::macros::impl_function_traits!(::bevy_platform::collections::HashSet<V, S>;
13    <
14        V: Hash + Eq + FromReflect + TypePath + GetTypeRegistration,
15        S: TypePath + BuildHasher + Default + Send + Sync
16    >
17);