···66/// Color type
77///
88/// We store it as a u32, but its actually 00000000rrrrrrrrggggggggbbbbbbbb
99-#[derive(Clone, Copy, PartialEq, Eq, DeriveValueType)]
99+#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, DeriveValueType)]
1010pub struct Color(u32);
11111212impl Color {
···5566/// Agnostic Color type,
77/// internally represented as rgb
88-#[derive(Debug, Copy, Clone, Default)]
88+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Default)]
99pub struct Color(ColorDTO);
10101111impl Display for Color {
+1-2
src/types/group.rs
···33use crate::types::{Priority, Tag, Zettel};
4455/// A `Group` which contains tasks!
66-#[expect(dead_code)]
77-#[derive(Debug, Clone)]
66+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
87pub struct Group {
98 /// Should only be constructed from models.
109 _private: (),
+2-1
src/types/kasten/mod.rs
···1717pub use index::Index;
1818pub use index::ZettelOnDisk;
1919mod todo_tree;
2020-pub use todo_tree::{TodoNode, TodoTree};
2020+2121+pub use todo_tree::{TodoNode, TodoNodeKind, TodoTree};
21222223#[derive(Debug)]
2324pub struct Kasten {
···2424pub use filaments::Filaments;
25252626mod kasten;
2727-2827pub use kasten::Index;
2928pub use kasten::Kasten;
3029pub use kasten::KastenHandle;
3131-#[expect(unused_imports)]
3230pub use kasten::TodoNode;
3333-#[expect(unused_imports)]
3131+pub use kasten::TodoNodeKind;
3432pub use kasten::TodoTree;
35333634mod frontmatter;
+1-1
src/types/priority.rs
···2233/// An Enum for the various `Priority` levels
44/// for `Task`s and `Group`s
55-#[derive(Debug, Clone, Default)]
55+#[derive(Debug, Default, Clone, PartialEq, Eq, PartialOrd, Ord)]
66pub struct Priority {
77 field1: PriorityDTO,
88}
+1-1
src/types/tag.rs
···4455/// Represents a `Tag` in a `ZettelKasten` note taking method.
66/// Easy way to link multiple notes under one simple word.
77-#[derive(Debug, Clone)]
77+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
88pub struct Tag {
99 /// Should only be constructed from models.
1010 _private: (),
+1-2
src/types/task.rs
···33use crate::types::{Group, Priority, Zettel};
4455/// a `Task` that you have to complete!
66-#[expect(dead_code)]
77-#[derive(Debug, Clone)]
66+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
87pub struct Task {
98 /// Should only be constructed from models.
109 _private:(),
+2-1
src/types/zettel/mod.rs
···1919/// A `Zettel` is a note about a single idea.
2020/// It can have many `Tag`s, just meaning it can fall under many
2121/// categories.
2222-#[derive(Debug, Clone)]
2222+2323+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
2324pub struct Zettel {
2425 /// Should only be constructed from models.
2526 _private: (),