From bc155f7abea6ee5155b6460d367a6797205db4fd Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 20 Jan 2026 01:53:09 +0100 Subject: started ui refactor --- common/object/src/lib.rs | 2 +- common/src/lib.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'common') 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"; -- cgit v1.3