This repository has been archived on 2025-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIT/src/model/models.rs

14 lines
249 B
Rust
Raw Normal View History

2024-07-19 22:05:55 +03:00
#[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);