pub enum Align {
Start,
End,
Center,
Stretch,
}Expand description
Cross axis alignment of a node’s children.
Variants§
Start
Pack children against the start of the cross axis.
End
Pack children against the end of the cross axis.
Center
Center children on the cross axis.
Stretch
Stretch children to fill the cross axis.
Trait Implementations§
impl Copy for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Forget for Align
impl Freeze for Align
impl Move for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnsafeUnpin for Align
impl UnwindSafe for Align
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more