diff --git a/kubi-ui/src/element/progress_bar.rs b/kubi-ui/src/element/progress_bar.rs index 52f3d1a..854ad0b 100644 --- a/kubi-ui/src/element/progress_bar.rs +++ b/kubi-ui/src/element/progress_bar.rs @@ -7,6 +7,7 @@ use crate::{ }; use super::UiElement; +#[derive(Debug, Clone, Copy)] pub struct ProgressBar { pub size: (UiSize, UiSize), pub value: f32, diff --git a/kubi-ui/src/lib.rs b/kubi-ui/src/lib.rs index e063df0..efabdc5 100644 --- a/kubi-ui/src/lib.rs +++ b/kubi-ui/src/lib.rs @@ -72,7 +72,7 @@ impl Default for KubiUi { } } -#[derive(Default)] +#[derive(Default, Debug, Clone, Copy)] pub enum UiSize { #[default] Auto,