pub enum Justify {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
}Expand description
Distribution along the main axis (analogous to justify-content).
Variants§
Start
Center
End
SpaceBetween
The outer items are pressed to the edges, the gaps are equal.
SpaceAround
Equal gaps around each item.
Trait Implementations§
impl Copy for Justify
impl Eq for Justify
impl StructuralPartialEq for Justify
Auto Trait Implementations§
impl Freeze for Justify
impl RefUnwindSafe for Justify
impl Send for Justify
impl Sync for Justify
impl Unpin for Justify
impl UnsafeUnpin for Justify
impl UnwindSafe for Justify
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