xref: /StarryEngine/starry_toolkit/src/traits/text.rs (revision 1bee64b64bc410ee78964a11a40a0fff69945480)
1 use starry_client::base::color::Color;
2 
3 pub trait Text {
4     fn set_text<S: Into<String>>(&self, text: S) -> &Self;
5 
6     fn set_text_color(&self, color: Color) -> &Self;
7 }
8