pub struct ListContentStyle {
pub padding: EdgeInsets,
pub row_gap: Points,
pub column_gap: Points,
pub align_items: Option<AlignItems>,
}Expand description
A list’s contentStyle (or contentClass): padding around the content, gaps
between rows and columns, and cell alignment on the cross axis.
Fields§
§padding: EdgeInsetsPadding around the content.
row_gap: PointsGap between rows (vertical lists) / columns (horizontal lists).
column_gap: PointsGap between columns (numColumns) of vertical lists.
align_items: Option<AlignItems>Cell alignment on the cross axis: stretch (default), flex-start, center or flex-end.
Trait Implementations§
Source§impl Clone for ListContentStyle
impl Clone for ListContentStyle
impl Copy for ListContentStyle
Source§impl Debug for ListContentStyle
impl Debug for ListContentStyle
Source§impl Default for ListContentStyle
impl Default for ListContentStyle
Source§impl HostValue for ListContentStyle
A list’s contentStyle: the padding properties (numbers),
gap / rowGap / columnGap, and cross-axis alignItems.
impl HostValue for ListContentStyle
A list’s contentStyle: the padding properties (numbers),
gap / rowGap / columnGap, and cross-axis alignItems.
Source§impl PartialEq for ListContentStyle
impl PartialEq for ListContentStyle
impl StructuralPartialEq for ListContentStyle
Auto Trait Implementations§
impl Forget for ListContentStyle
impl Freeze for ListContentStyle
impl Move for ListContentStyle
impl RefUnwindSafe for ListContentStyle
impl Send for ListContentStyle
impl Sync for ListContentStyle
impl Unpin for ListContentStyle
impl UnsafeUnpin for ListContentStyle
impl UnwindSafe for ListContentStyle
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