improvements and fixes

This commit is contained in:
elvis
2025-10-27 14:39:11 +01:00
parent 462d0e9d53
commit fbc767a21b
6 changed files with 252 additions and 54 deletions

View File

@ -20,6 +20,7 @@ impl PrintableWithTranslator for IdType {
}
}
// -----------------------------------------------------------------------------
#[derive(
@ -108,3 +109,15 @@ impl From<(&IdType, &IdState)> for PositiveType {
}
}
}
impl From<PositiveType> for IdType {
fn from(value: PositiveType) -> Self {
value.id
}
}
impl From<&PositiveType> for IdType {
fn from(value: &PositiveType) -> Self {
value.id
}
}