mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 03:48:21 -06:00
add traits
This commit is contained in:
parent
63f862c2be
commit
447a848009
|
@ -7,6 +7,7 @@ use crate::{
|
|||
};
|
||||
use super::UiElement;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct ProgressBar {
|
||||
pub size: (UiSize, UiSize),
|
||||
pub value: f32,
|
||||
|
|
|
@ -72,7 +72,7 @@ impl Default for KubiUi {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug, Clone, Copy)]
|
||||
pub enum UiSize {
|
||||
#[default]
|
||||
Auto,
|
||||
|
|
Loading…
Reference in a new issue