aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/features.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-levels/src/features.rs')
-rw-r--r--stockton-levels/src/features.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/stockton-levels/src/features.rs b/stockton-levels/src/features.rs
index f748bd0..b4ddb99 100644
--- a/stockton-levels/src/features.rs
+++ b/stockton-levels/src/features.rs
@@ -14,5 +14,8 @@
use crate::parts::*;
-pub trait MinRenderFeatures: HasFaces + HasTextures + Send + Sync {}
-impl<T> MinRenderFeatures for T where T: HasFaces + HasTextures + Send + Sync {}
+pub trait MinRenderFeatures<'a>: HasFaces + HasTextures + HasVisData<'a> + Send + Sync {}
+impl<'a, T> MinRenderFeatures<'a> for T where
+ T: HasFaces + HasTextures + HasVisData<'a> + Send + Sync
+{
+}