feat(Str): Based strict

Added enum for statuses
Added const for capacity
Added strict with based params
This commit is contained in:
Black_Raven committed 2025-12-09 22:15:58 +03:00
1 parent 905ef822ba
commit 1c47dfc374
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
enum Status {
BUISY,
FREE,
DELETED,
}
const SIZE: usize = 15;
pub struct Str {
_data: Vec<char>,
_stats: Vec<Status>,
_size: usize,
_capacity: usize,
}