refactor persistency

This commit is contained in:
2019-05-05 19:16:52 +02:00
parent 073eb9011c
commit 89fa985005
6 changed files with 222 additions and 218 deletions

View File

@ -11,7 +11,7 @@ pub use sha256::Sha256;
mod texture_format;
pub use texture_format::TextureFormat;
#[derive(Eq, PartialEq, Clone, Serialize, Deserialize, Debug)]
#[derive(Eq, PartialEq, Clone, Serialize, Deserialize, Debug, Hash)]
pub struct Texture {
pub id: String,
pub name: String,