feat(Str): Based strict
Added enum for statuses Added const for capacity Added strict with based params
This commit is contained in:
1 parent
905ef822ba
commit
1c47dfc374
1 file changed
+14
@@ -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,
|
||||||
|
}
|
||||||
Reference in new issue
Block a user