Custom fields repo into AppState

This commit is contained in:
micialware committed 2026-09-11 13:28:23 +03:00
1 parent be64b1da2d
commit f61f93717c
6 files changed
+20 -3

No files matched your search

+11
View File
@@ -196,12 +196,23 @@ impl CardState {
}
}
#[derive(Clone)]
pub struct CustomField {
pub id: Id,
pub name: String,
pub identifier: String,
}
impl EntityData for CustomField {
fn id(&self) -> Id {
self.id
}
fn set_id(&mut self, id: Id) {
self.id = id;
}
}
pub struct EntityHandle<E> {
pub(crate) id: Id,
index: u32,