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