4 type TextureIter<'a>: Iterator<Item = &'a Texture>
8 fn get_texture(&self) -> Self::TextureIter<'_>;
12 type Surface<'a>: Surface
16 fn get_surface(&self) -> Self::Surface<'_>;
19 impl<'s> Surface for &'s Texture {
20 type TextureIter<'a> = std::option::IntoIter<&'a Texture>;
23 fn get_texture(&self) -> Self::TextureIter<'_> {
24 let option: Option<&Texture> = Some(self);
29 impl Swapchain for Texture {
30 type Surface<'a> = &'a Texture;
32 fn get_surface(&self) -> Self::Surface<'_> {