pub use bevy_ui::AlignSelf;
use crate::class::ApplyClass;
pub const SELF_AUTO: AlignSelf = AlignSelf::Auto;
pub const SELF_START: AlignSelf = AlignSelf::FlexStart;
pub const SELF_END: AlignSelf = AlignSelf::FlexEnd;
pub const SELF_CENTER: AlignSelf = AlignSelf::Center;
pub const SELF_BASELINE: AlignSelf = AlignSelf::Baseline;
pub const SELF_STRETCH: AlignSelf = AlignSelf::Stretch;
impl ApplyClass<AlignSelf> for bevy_ui::Style {
fn apply_class(&mut self, class: &AlignSelf) {
self.align_self = *class;
}
}