computer: store part 7

This commit is contained in:
nym21
2025-07-02 23:49:24 +02:00
parent d10ac3f87b
commit 5810276156
5 changed files with 224 additions and 88 deletions

View File

@@ -45,6 +45,11 @@ impl From<usize> for StoredUsize {
Self(value)
}
}
impl From<StoredUsize> for usize {
fn from(value: StoredUsize) -> Self {
*value
}
}
impl CheckedSub<StoredUsize> for StoredUsize {
fn checked_sub(self, rhs: Self) -> Option<Self> {