pub trait XpSystemExtensionswhere
Self: Sized,{
type Via: XpSystem;
}Expand description
Root trait for XP system extensions.
Exposes the underlying XP system (Self::Via) to extension traits
(e.g., listeners) without tying them to a concrete implementation.
Via is only required to implement XpSystem here (the base contract).
Additional XP capabilities (e.g., XpOwner, XpMutate) can be required
by further bounding Via in downstream traits.
§Example
ⓘ
pub trait XpOwnerListener
where
Self: XpSystemExtensions,
Self::Via: XpOwner<Self>,
{}Required Associated Types§
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.