pub enum Align {
Start,
Center,
End,
SpaceBetween,
}Expand description
Where a frame’s auto layout puts its children along one axis.
Variants§
Start
At the start.
Center
In the middle.
End
At the end.
SpaceBetween
The first at the start, the last at the end, and the free space shared
between them; justify only.
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