1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::color::Color; #[derive(Clone, Debug)] pub struct LabelConfig { pub font_size: f32, pub color: Color, } impl Default for LabelConfig { fn default() -> Self { Self { font_size: 14.0, color: Color::Black, } } }