pub struct WrapStyle {
pub axis: Axis,
pub align: Align,
pub column_gap: f32,
pub row_gap: f32,
}Expand description
Wrapping configuration for children along a main axis.
Fields§
§axis: AxisMain axis along which children are placed.
align: AlignCross-axis alignment of the items within each line.
column_gap: f32Gap between items on the same line.
row_gap: f32Gap between wrapped lines.
Implementations§
Trait Implementations§
impl Copy for WrapStyle
impl StructuralPartialEq for WrapStyle
Auto Trait Implementations§
impl Freeze for WrapStyle
impl RefUnwindSafe for WrapStyle
impl Send for WrapStyle
impl Sync for WrapStyle
impl Unpin for WrapStyle
impl UnsafeUnpin for WrapStyle
impl UnwindSafe for WrapStyle
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