Fully refactored project architecture, imports and etc.

This commit is contained in:
2024-03-10 12:35:02 +04:00
parent 55b2c4ec56
commit 54619cd3f9
31 changed files with 923 additions and 762 deletions

1
src/model/mod.rs Normal file
View File

@@ -0,0 +1 @@
pub mod model;

16
src/model/model.rs Normal file
View File

@@ -0,0 +1,16 @@
pub mod model_module{
#[repr(usize)]
#[derive(Clone)]
pub enum HammingMode{
Encrypt = 4,
Decrypt = 7
}
pub struct EventHandler<F, C>{
pub(crate) component: C,
pub(crate) callback: F,
}
}