pub enum Justify {
Start,
End,
Center,
SpaceBetween,
}Expand description
Main axis distribution of a node’s children.
Variants§
Start
Pack children against the start of the main axis.
End
Pack children against the end of the main axis.
Center
Center children on the main axis.
SpaceBetween
Place the first and last child at the ends of the main axis and spread the remaining space between them.
Trait Implementations§
impl Copy for Justify
impl StructuralPartialEq for Justify
Auto Trait Implementations§
impl Forget for Justify
impl Freeze for Justify
impl Move 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