Fully refactored project architecture, imports and etc.
This commit is contained in:
1
src/model/mod.rs
Normal file
1
src/model/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod model;
|
||||
16
src/model/model.rs
Normal file
16
src/model/model.rs
Normal 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,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user