pub trait StaticType: 'static {
const TYPE: &'static TypeInfo;
}Expand description
A Rust type with an associated runtime TypeInfo.
Implemented by all classes ([ferro_class!]) and by non-instantiable
types that own attached properties ([ferro_static_type!]).
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".