partialy implement Query, also add date

This commit is contained in:
2019-05-07 17:36:32 +02:00
parent cfc2ff5886
commit cb2b8339a6
4 changed files with 162 additions and 16 deletions

View File

@ -8,6 +8,9 @@ use std::io;
mod sha256;
pub use sha256::Sha256;
mod date;
pub use date::Date;
mod texture_format;
pub use texture_format::TextureFormat;
@ -17,7 +20,8 @@ pub struct Texture {
pub name: String,
pub tags: Vec<String>,
pub format: TextureFormat,
pub resolution: (usize, usize),
pub added_on: Date,
pub resolution: (u64, u64),
pub texture_hash: Sha256,
}