From 7feb816799cdcc03163045ad2bf005fe191cfc0e Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 16 Nov 2024 19:11:25 +0100 Subject: refactor(ecs): rename component::Metadata of function to get --- ecs/src/component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecs/src/component.rs') diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 513b31a..14d3b54 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -187,7 +187,7 @@ pub struct Metadata impl Metadata { - pub fn of(component: &ComponentT) -> Self + pub fn get(component: &ComponentT) -> Self { Self { id: component.self_id(), -- cgit v1.2.3-18-g5258