computer: part 2

This commit is contained in:
nym21
2025-03-20 21:40:06 +01:00
parent 29c10f8854
commit 52cfbf60d4
24 changed files with 997 additions and 107 deletions

View File

@@ -82,7 +82,7 @@ where
self.vec.version()
}
fn len(&self) -> usize {
pub fn len(&self) -> usize {
self.vec.len()
}
@@ -98,6 +98,10 @@ where
&self.vec
}
pub fn mut_any_vec(&mut self) -> &mut dyn AnyStorableVec {
&mut self.vec
}
pub fn get(&mut self, index: I) -> Result<Option<&T>> {
self.vec.get(index)
}