headless?

This commit is contained in:
2023-10-14 12:45:48 +02:00
parent df53777a80
commit 8167fe55a0
5 changed files with 156 additions and 24 deletions

View File

@@ -34,6 +34,10 @@ impl SimpleVec {
len
}
pub fn full(&self) -> bool {
self.items.len() == self.len()
}
pub fn push(&mut self, value: u8) {
let vec_item = VecItem {