mirror of
https://github.com/guilhermewerner/reflection
synced 2025-06-16 21:44:19 +00:00
Update Reflect.rs
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
|
|
||||||
pub trait Reflect: Any + Send + Sync + 'static {}
|
pub unsafe trait Reflect: Any + Send + Sync + 'static {
|
||||||
|
fn TypeName(&self) -> &'static str;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user