pub trait EffectComponentTrait: Any {
const KIND: EnchantmentEffectComponentKind;
}Expand description
A trait that’s implemented on all effect components so we can access them
from EnchantmentData::get.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.