rename(model): model.rs -> models.rs

This commit is contained in:
doryan 2024-07-19 23:05:55 +04:00
parent b663859eee
commit f88946b507

13
src/model/models.rs Normal file
View File

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