aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-01-20 01:53:09 +0100
committermetamuffin <metamuffin@disroot.org>2026-01-20 01:53:09 +0100
commitbc155f7abea6ee5155b6460d367a6797205db4fd (patch)
treea2c55d96c493cf2b71bfc79539d4f8d0d8953392 /common
parent10736db63ad6d99e6cdce41920aa10dbeab02129 (diff)
downloadjellything-bc155f7abea6ee5155b6460d367a6797205db4fd.tar
jellything-bc155f7abea6ee5155b6460d367a6797205db4fd.tar.bz2
jellything-bc155f7abea6ee5155b6460d367a6797205db4fd.tar.zst
started ui refactor
Diffstat (limited to 'common')
-rw-r--r--common/object/src/lib.rs2
-rw-r--r--common/src/lib.rs3
2 files changed, 4 insertions, 1 deletions
diff --git a/common/object/src/lib.rs b/common/object/src/lib.rs
index f07dd09..0eb11fd 100644
--- a/common/object/src/lib.rs
+++ b/common/object/src/lib.rs
@@ -20,7 +20,7 @@ pub use value::*;
use std::{collections::BTreeSet, hash::Hash, marker::PhantomData};
#[repr(transparent)]
-#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Tag(pub u32);
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
diff --git a/common/src/lib.rs b/common/src/lib.rs
index e5531f4..aa9da2c 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -106,6 +106,9 @@ fields! {
}
+pub type Kind = Tag;
+pub type Language = Tag;
+
enums! {
VISI_HIDDEN = 0xe001 "hidden";
VISI_REDUCED = 0xe002 "reduced";