pub enum Justify {
Start,
SpaceBetween,
}Expand description
How a container places children when its assigned rect is larger than the children’s resolved sizes plus the minimum gap.
Variants§
Start
Pack children at the start of the primary axis.
SpaceBetween
Add all surplus cells to the gaps between children, keeping the first child at the start and the last child at the end.
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