pub enum WrapMode {
NoWrap,
Wrap,
WrapReverse,
}Expand description
Element wrapping modes for controlling how children wrap.
Determines how child elements wrap when they exceed container width.
Variants§
NoWrap
No wrapping - children laid out in single row/column (default)
Wrap
Wrap children to next row/column when space runs out
WrapReverse
Wrap children in reverse direction
Trait Implementations§
impl Copy for WrapMode
impl StructuralPartialEq for WrapMode
Auto Trait Implementations§
impl Freeze for WrapMode
impl RefUnwindSafe for WrapMode
impl Send for WrapMode
impl Sync for WrapMode
impl Unpin for WrapMode
impl UnwindSafe for WrapMode
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