pub enum FlexWrap {
NoWrap,
Wrap,
WrapReverse,
}
Expand description
Controls whether flex items are forced onto one line or can wrap onto multiple lines.
Defaults to FlexWrap::NoWrap
Variants§
NoWrap
Items will not wrap and stay on a single line
Wrap
Items will wrap according to this item’s FlexDirection
WrapReverse
Items will wrap in the opposite direction to this item’s FlexDirection
Trait Implementations§
source§impl PartialEq for FlexWrap
impl PartialEq for FlexWrap
impl Copy for FlexWrap
impl Eq for FlexWrap
impl StructuralEq for FlexWrap
impl StructuralPartialEq for FlexWrap
Auto Trait Implementations§
impl RefUnwindSafe for FlexWrap
impl Send for FlexWrap
impl Sync for FlexWrap
impl Unpin 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