1 2 3 4 5 6 7 8 9 10
use super::ApplyClass; use bevy_text::Text; pub use bevy_text::JustifyText; impl ApplyClass<JustifyText> for Text { fn apply_class(&mut self, class: &JustifyText) { self.justify = *class; } }