From 1c47dfc374a2ce18b4807f68b34479e1440fa87b Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 9 Dec 2025 22:13:09 +0300 Subject: [PATCH] feat(Str): Based strict Added enum for statuses Added const for capacity Added strict with based params --- src/string/MyStr_strict.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/string/MyStr_strict.rs diff --git a/src/string/MyStr_strict.rs b/src/string/MyStr_strict.rs new file mode 100644 index 0000000..8a70cc1 --- /dev/null +++ b/src/string/MyStr_strict.rs @@ -0,0 +1,14 @@ +enum Status { + BUISY, + FREE, + DELETED, +} + +const SIZE: usize = 15; + +pub struct Str { + _data: Vec, + _stats: Vec, + _size: usize, + _capacity: usize, +}