feat(imports): update imports
This commit is contained in:
parent
e9dbcb272e
commit
ef3158e732
|
@ -1,8 +1,9 @@
|
|||
use std::collections::HashMap;
|
||||
use std::sync::LazyLock;
|
||||
|
||||
use crate::{
|
||||
controller::view_utils::{hamming_code_input_utils::*, input_utils::*},
|
||||
model::models::*,
|
||||
model::{models::*, Result},
|
||||
};
|
||||
|
||||
static SYNDROMES: LazyLock<HashMap<usize, (bool, bool, bool)>> = LazyLock::new(|| {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
use gtk4 as gtk;
|
||||
|
||||
use crate::{model::models::*, model_utils::hamming_code_seven_four::*};
|
||||
use crate::{
|
||||
model::{models::*, Result},
|
||||
model_utils::hamming_code_seven_four::*,
|
||||
};
|
||||
use gtk::{prelude::*, *};
|
||||
|
||||
pub fn start_hamming_algorithm(input: &TextView, output: &TextView, mode: bool) {
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
use std::{cell::Cell, rc::Rc};
|
||||
use std::cell::Cell;
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::{
|
||||
event_handlers::button_event_handlers::BtnEventHandler,
|
||||
model::{
|
||||
builder_traits::Product,
|
||||
models::{EventHandler, SignalReduce},
|
||||
ResultValue,
|
||||
},
|
||||
model::{builder_traits::Product, models::SignalReduce, Frequency},
|
||||
model_utils::signal_reducer::{
|
||||
coef_of_signal_reduce, full_resistance_of_capacitor, reactive_resistance_of_capacitor,
|
||||
voltage_from_signal_source,
|
||||
|
@ -19,7 +15,7 @@ use crate::{
|
|||
};
|
||||
|
||||
use gtk::{
|
||||
prelude::{BoxExt, Cast, CastNone, GridExt, ListItemExt},
|
||||
prelude::{BoxExt, ButtonExt, Cast, CastNone, GridExt, ListItemExt, ListModelExt},
|
||||
Align, WrapMode, *,
|
||||
};
|
||||
use gtk4 as gtk;
|
||||
|
|
Loading…
Reference in New Issue