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§
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)