add traits

This commit is contained in:
griffi-gh 2023-11-23 10:53:44 +01:00
parent 63f862c2be
commit 447a848009
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ use crate::{
};
use super::UiElement;
#[derive(Debug, Clone, Copy)]
pub struct ProgressBar {
pub size: (UiSize, UiSize),
pub value: f32,

View file

@ -72,7 +72,7 @@ impl Default for KubiUi {
}
}
#[derive(Default)]
#[derive(Default, Debug, Clone, Copy)]
pub enum UiSize {
#[default]
Auto,