diff options
Diffstat (limited to 'ecs/src/sole.rs')
-rw-r--r-- | ecs/src/sole.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/src/sole.rs b/ecs/src/sole.rs index 014ab7d..fcff8de 100644 --- a/ecs/src/sole.rs +++ b/ecs/src/sole.rs @@ -13,6 +13,8 @@ use crate::WorldData; /// A type which has a single instance and is shared globally. pub trait Sole: Any + TypeName { + fn drop_last(&self) -> bool; + fn as_any_mut(&mut self) -> &mut dyn Any; fn as_any(&self) -> &dyn Any; |