mirror of
https://github.com/guilhermewerner/reflection
synced 2025-06-16 21:44:19 +00:00
Test generics and other things
This commit is contained in:
12
Source/Examples/HashSet.rs
Normal file
12
Source/Examples/HashSet.rs
Normal file
@ -0,0 +1,12 @@
|
||||
use crate::*;
|
||||
use std::collections::HashSet as InnerHashSet;
|
||||
|
||||
#[derive(Reflect)]
|
||||
pub struct HashSet<T>
|
||||
where
|
||||
T: Reflect,
|
||||
{
|
||||
inner: InnerHashSet<T>,
|
||||
}
|
||||
|
||||
impl<T> HashSet<T> where T: Reflect {}
|
Reference in New Issue
Block a user