pub enum FlexWrap {
NoWrap,
Wrap,
WrapReverse,
}Expand description
Whether and how the flex container wraps its items.
Variants§
NoWrap
All items fit in a single line (CSS flex-wrap: nowrap).
Wrap
Items wrap into additional lines in the forward direction.
WrapReverse
Items wrap into additional lines in the reverse direction (lines are reversed).
Trait Implementations§
impl Copy for FlexWrap
impl Eq for FlexWrap
impl StructuralPartialEq for FlexWrap
Auto Trait Implementations§
impl Freeze for FlexWrap
impl RefUnwindSafe for FlexWrap
impl Send for FlexWrap
impl Sync for FlexWrap
impl Unpin for FlexWrap
impl UnsafeUnpin for FlexWrap
impl UnwindSafe for FlexWrap
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