diff options
| author | HampusM <hampus@hampusmat.com> | 2026-12-01 17:42:12 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-12-01 17:42:12 +0100 |
| commit | b2a130a6e30b82a7e0f80347f916265a467a4238 (patch) | |
| tree | 5685399d1cf7a28df3f91e83a2d3d2eaf2eaa20b /engine-ecs/src/sole.rs | |
| parent | 8985ff5080c34cf4b07b814ed7a757311a5a332f (diff) | |
Diffstat (limited to 'engine-ecs/src/sole.rs')
| -rw-r--r-- | engine-ecs/src/sole.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-ecs/src/sole.rs b/engine-ecs/src/sole.rs index ee1da7a..568be3e 100644 --- a/engine-ecs/src/sole.rs +++ b/engine-ecs/src/sole.rs @@ -4,14 +4,14 @@ use std::fmt::Debug; use crate::component::{ HandleMut as ComponentHandleMut, - IntoParts as IntoComponentParts, + Parts as ComponentParts, WithAssociatedId as ComponentWithAssociatedId, }; use crate::system::{Metadata as SystemMetadata, Param as SystemParam}; use crate::{Component, World}; /// A component which has a single instance in the [`World`]. -pub trait Sole: Any + IntoComponentParts + ComponentWithAssociatedId +pub trait Sole: Any + ComponentWithAssociatedId + Into<ComponentParts> { fn type_reflection() -> Option<&'static crate::reflection::Type> where |
