Add derives for Color

This commit is contained in:
grovesNL 2022-10-24 09:15:07 -02:30
parent fa03455457
commit 66e44293de

View file

@ -13,6 +13,7 @@ pub use text_render::TextRenderer;
/// The color to use when rendering text.
#[repr(C)]
#[derive(Clone, Copy, Debug)]
pub struct Color {
/// The red component of the color.
pub r: u8,