diff options
author | HampusM <hampus@hampusmat.com> | 2025-04-02 14:42:10 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-04-02 14:42:10 +0200 |
commit | d00ce85c591f7fa8385ef7e99b44db6a14788cd4 (patch) | |
tree | 81c17ccc6b5446ea46ba039cd231cfd01c3f2a91 /ecs/src/component | |
parent | ff7406e6d8b70884faaff7707c7d917faabe1a53 (diff) |
refactor(ecs): move & rename system::ComponentRef* to component mod
Diffstat (limited to 'ecs/src/component')
-rw-r--r-- | ecs/src/component/local.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ecs/src/component/local.rs b/ecs/src/component/local.rs index d4e414e..0f6f641 100644 --- a/ecs/src/component/local.rs +++ b/ecs/src/component/local.rs @@ -1,14 +1,14 @@ use std::ops::{Deref, DerefMut}; -use crate::component::Component; -use crate::system::{ComponentRefMut, Param as SystemParam, System}; +use crate::component::{Component, HandleMut as ComponentHandleMut}; +use crate::system::{Param as SystemParam, System}; use crate::World; /// Holds a component which is local to a single system. #[derive(Debug)] pub struct Local<'world, LocalComponent: Component> { - local_component: ComponentRefMut<'world, LocalComponent>, + local_component: ComponentHandleMut<'world, LocalComponent>, } impl<'world, LocalComponent> SystemParam<'world> for Local<'world, LocalComponent> |