From 72b48476d86b9f76c2cbfbd8a5f66b936280096b Mon Sep 17 00:00:00 2001 From: Werner <26710260+GuilhermeWerner@users.noreply.github.com> Date: Thu, 23 Dec 2021 12:02:30 -0300 Subject: [PATCH] Update Reflect.rs --- Source/Reflect.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Reflect.rs b/Source/Reflect.rs index 51f857e..fcf75a4 100644 --- a/Source/Reflect.rs +++ b/Source/Reflect.rs @@ -1,3 +1,5 @@ use std::any::Any; -pub trait Reflect: Any + Send + Sync + 'static {} +pub unsafe trait Reflect: Any + Send + Sync + 'static { + fn TypeName(&self) -> &'static str; +}