Pre-calculate property getter/setter function names.
This commit is contained in:
@@ -17,6 +17,7 @@ use crate::stdlib::collections::hash_map::DefaultHasher;
|
||||
#[cfg(feature = "no_std")]
|
||||
use ahash::AHasher;
|
||||
|
||||
#[inline(always)]
|
||||
pub fn EMPTY_TYPE_ID() -> TypeId {
|
||||
TypeId::of::<()>()
|
||||
}
|
||||
|
Reference in New Issue
Block a user