Skip to main content

Module spacing

Module spacing 

Source
Expand description

CSS properties for margin and padding.

Structs§

LayoutColumnGap
Layout column gap value (for flexbox/grid)
LayoutMargin
LayoutMarginBottom
Layout margin bottom value
LayoutMarginLeft
Layout margin left value
LayoutMarginRight
Layout margin right value
LayoutMarginTop
Layout margin top value
LayoutPadding
LayoutPaddingBottom
Layout padding bottom value
LayoutPaddingInlineEnd
Layout padding inline end value (for RTL/LTR support)
LayoutPaddingInlineStart
Layout padding inline start value (for RTL/LTR support)
LayoutPaddingLeft
Layout padding left value
LayoutPaddingRight
Layout padding right value
LayoutPaddingTop
Layout padding top value
LayoutRowGap
Layout row gap value (for flexbox/grid)

Enums§

LayoutMarginParseError
LayoutMarginParseErrorOwned
LayoutPaddingParseError
LayoutPaddingParseErrorOwned

Functions§

parse_layout_column_gap
Parses a LayoutColumnGap attribute from a &str
parse_layout_margin
parse_layout_margin_bottom
Parses a LayoutMarginBottom attribute from a &str
parse_layout_margin_left
Parses a LayoutMarginLeft attribute from a &str
parse_layout_margin_right
Parses a LayoutMarginRight attribute from a &str
parse_layout_margin_top
Parses a LayoutMarginTop attribute from a &str
parse_layout_padding
parse_layout_padding_bottom
Parses a LayoutPaddingBottom attribute from a &str
parse_layout_padding_inline_end
Parses a LayoutPaddingInlineEnd attribute from a &str
parse_layout_padding_inline_start
Parses a LayoutPaddingInlineStart attribute from a &str
parse_layout_padding_left
Parses a LayoutPaddingLeft attribute from a &str
parse_layout_padding_right
Parses a LayoutPaddingRight attribute from a &str
parse_layout_padding_top
Parses a LayoutPaddingTop attribute from a &str
parse_layout_row_gap
Parses a LayoutRowGap attribute from a &str