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:
11
Source/Examples/LinkedList.rs
Normal file
11
Source/Examples/LinkedList.rs
Normal file
@ -0,0 +1,11 @@
|
||||
use crate::*;
|
||||
|
||||
#[derive(Reflect)]
|
||||
pub struct LinkedList<T>
|
||||
where
|
||||
T: Reflect,
|
||||
{
|
||||
inner: T,
|
||||
}
|
||||
|
||||
impl<T> LinkedList<T> where T: Reflect {}
|
Reference in New Issue
Block a user