summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-10-12 22:46:54 -0400
committerMason Reed <mason@vector35.com>2025-10-12 22:50:20 -0400
commit40f7d40e394657575001a8146d8233f1fc4356fd (patch)
treea1dfac7f90bbd284119d0a3e10e205fe2e0303c1 /rust/src
parent49558b88ed5dacaac0bdf1946291bc37a4a88cb9 (diff)
[WARP] Improve UX surrounding removal of matched functions
- Adds Python API to remove matched function - Adds command + UI actions to remove matched function - Adds command + UI actions to ignore function in subsequent matches
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/tags.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/src/tags.rs b/rust/src/tags.rs
index 4817f596..a56b7a18 100644
--- a/rust/src/tags.rs
+++ b/rust/src/tags.rs
@@ -203,6 +203,14 @@ impl Debug for TagType {
}
}
+impl PartialEq for TagType {
+ fn eq(&self, other: &Self) -> bool {
+ self.id() == other.id()
+ }
+}
+
+impl Eq for TagType {}
+
unsafe impl RefCountable for TagType {
unsafe fn inc_ref(handle: &Self) -> Ref<Self> {
Ref::new(Self {