sizing actually working correctly now

This commit is contained in:
iris committed 2025-09-16 17:31:54 -04:00
1 parent b48acccb8d
commit f9097807a2
17 files changed
+333 -194

No files matched your search

+10
View File
@@ -54,3 +54,13 @@ impl CopyId {
Id(self.0)
}
}
pub trait IdUtil {
fn duplicate(&self) -> Self;
}
impl IdUtil for Option<Id> {
fn duplicate(&self) -> Self {
self.as_ref().map(|i| i.duplicate())
}
}