diff options
Diffstat (limited to 'src/loading/mod.rs')
| -rw-r--r-- | src/loading/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loading/mod.rs b/src/loading/mod.rs index 64a65580..ab52439d 100644 --- a/src/loading/mod.rs +++ b/src/loading/mod.rs @@ -34,7 +34,8 @@ pub trait Loader { /// A file id that can be [resolved](Loader::resolve_from) from a path. /// /// Should be the same for all paths pointing to the same file. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, Serialize, Deserialize)] +#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] +#[derive(Serialize, Deserialize)] pub struct FileId(u64); impl FileId { |
