Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_reflect/src/impls/std/collections/hash_set.rs
6601 views
1
use bevy_reflect_derive::impl_type_path;
2
3
use crate::impls::macros::impl_reflect_for_hashset;
4
#[cfg(feature = "functions")]
5
use crate::{from_reflect::FromReflect, type_path::TypePath, type_registry::GetTypeRegistration};
6
#[cfg(feature = "functions")]
7
use core::hash::{BuildHasher, Hash};
8
9
impl_reflect_for_hashset!(::std::collections::HashSet<V,S>);
10
impl_type_path!(::std::collections::HashSet<V, S>);
11
#[cfg(feature = "functions")]
12
crate::func::macros::impl_function_traits!(::std::collections::HashSet<V, S>;
13
<
14
V: Hash + Eq + FromReflect + TypePath + GetTypeRegistration,
15
S: TypePath + BuildHasher + Default + Send + Sync
16
>
17
);
18
19