use crate::class::ApplyClass;
use bevy_ui::Style;
pub use bevy_ui::JustifySelf;
pub const JUSTIFY_SELF_AUTO: JustifySelf = JustifySelf::Auto;
pub const JUSTIFY_SELF_START: JustifySelf = JustifySelf::Start;
pub const JUSTIFY_SELF_END: JustifySelf = JustifySelf::End;
pub const JUSTIFY_SELF_CENTER: JustifySelf = JustifySelf::Center;
pub const JUSTIFY_SELF_BASELINE: JustifySelf = JustifySelf::Baseline;
pub const JUSTIFY_SELF_STRETCH: JustifySelf = JustifySelf::Stretch;
impl ApplyClass<JustifySelf> for Style {
#[inline]
fn apply_class(&mut self, class: &JustifySelf) {
self.justify_self = *class;
}
}