diff options
Diffstat (limited to 'engine/src/texture.rs')
-rw-r--r-- | engine/src/texture.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/engine/src/texture.rs b/engine/src/texture.rs index 88c57bd..f9bed1e 100644 --- a/engine/src/texture.rs +++ b/engine/src/texture.rs @@ -196,20 +196,3 @@ impl Display for Id self.id.fmt(formatter) } } - -/// Texture list. -#[derive(Component)] -pub struct List -{ - pub list: Vec<Texture>, -} - -impl FromIterator<Texture> for List -{ - fn from_iter<Iter>(iter: Iter) -> Self - where - Iter: IntoIterator<Item = Texture>, - { - Self { list: iter.into_iter().collect() } - } -} |