1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/// Sets flex main-axis direction (`row`, `column`, or `FlexDirection`).
pub const
/// Sets box display mode (`Display::Flex`, `Display::Grid`, `Display::Block`, `Display::None`).
pub const
/// Sets positioning mode (`Position::Relative`, `Position::Absolute`, `Position::Fixed`).
pub const
/// Sets `(top, right, bottom, left)` offsets as `(Option<f32>, Option<f32>, Option<f32>, Option<f32>)`.
pub const
/// Sets box width (`Length::Px`, `Length::Percent`, `Length::Auto`).
pub const
/// Sets box height (`Length::Px`, `Length::Percent`, `Length::Auto`).
pub const
/// Sets minimum box width constraint (`Length`).
pub const
/// Sets minimum box height constraint (`Length`).
pub const
/// Sets maximum box width constraint (`Length`).
pub const
/// Sets maximum box height constraint (`Length`).
pub const
/// Sets preferred width-to-height aspect ratio (`f32`).
pub const
/// Sets inner box padding (`Edges`).
pub const
/// Sets outer box margin (`Edges`).
pub const
/// Sets uniform row and column child gap (`f32`).
pub const
/// Sets solid background fill color (`Color`).
pub const
/// Sets linear gradient background fill (`LinearGradient`).
pub const
/// Sets drop shadow elevation (`Shadow`).
pub const
/// Sets keyboard focus outline stroke (`Border`).
pub const
/// Sets pointer hover cursor icon (`CursorIcon`).
pub const
/// Controls pointer hit-testing participation (`PointerEvents`).
pub const
/// Blocks wheel/touch scroll bubbling to ancestor scroll containers (`bool`).
pub const
/// Blocks pointer and click event bubbling to ancestor nodes (`bool`).
pub const
/// Sets foreground text color (`Color`).
pub const
/// Sets uniform corner radius in logical pixels (`f32`).
pub const
/// Sets cross-axis child alignment (`AlignItems`).
pub const
/// Sets main-axis content justification (`JustifyContent`).
pub const
/// Sets flex grow factor (`f32`).
pub const
/// Sets flex shrink factor (`f32`).
pub const
/// Sets flex line wrapping policy (`FlexWrap`).
pub const
/// Sets child clipping or scroll behavior (`Overflow`).
pub const
/// Sets text font size in logical pixels (`f32`).
pub const
/// Sets text font weight (`FontWeight`).
pub const
/// Sets text font family (`FontFamily::Sans`, `FontFamily::Serif`, `FontFamily::Monospace`).
pub const
/// Enables or disables italic font slant (`bool`).
pub const
/// Sets horizontal text alignment (`TextAlign`).
pub const
/// Sets text overflow strategy (`TextOverflow::Wrap`, `TextOverflow::Clip`, `TextOverflow::Ellipsis`).
pub const
/// Sets subtree opacity multiplier in `[0.0, 1.0]` (`f32`).
pub const
/// Sets sibling/portal paint stacking order (`i32`).
pub const
/// Sets border `(width, color)` tuple (`(f32, Color)`).
pub const
/// Sets uniform CSS Grid column count (`u16`).
pub const
/// Alias for `grid`: sets uniform CSS Grid column count (`u16`).
pub const