Closed bvssvni closed 5 years ago
Alternative to https://github.com/PistonDevelopers/texture/issues/46
Instead of inheriting from the same TextureError trait, a trait Texture could be added that inherits CreateTexture and UpdateTexture with equal associated error types.
TextureError
Texture
CreateTexture
UpdateTexture
To avoid naming collision with Texture structs in various places, one could use Tex or TextureOps.
Tex
TextureOps
Closed in favor of https://github.com/PistonDevelopers/texture/issues/46
Alternative to https://github.com/PistonDevelopers/texture/issues/46
Instead of inheriting from the same
TextureError
trait, a traitTexture
could be added that inheritsCreateTexture
andUpdateTexture
with equal associated error types.