Structs§
- Inheritable
Font Styles - Struct that holds the properties for text rendering, which can be inherited. This allows setting for font face, size and color to be established at a parent level and inherited by child text elements.
- Style
Builder - An object that provides a fluent interface for defining styles for bevy_ui nodes.
Most components such as
BackgroundColor
are mutated immediately, however some component types such asStyle
are cached in the builder and not applied untilfinish
is called. - Style
Builder Plugin - Style
Builder System Set - A system set that includes any systems that run dynamic style computations. These will generally run after the UI nodes have been updated.
- Style
Handle - Wrapper type that allows
StyleTuple
s to be passed from parent to child views. - UseInherited
Text Styles - A marker component that is used to indicate that the text entity wants to opt-in to using inherited text styles.
Enums§
- Handle
OrOwned Path - Enum that represents either a handle or an owned path.
- Maybe
Handle OrPath - Enum that represents either a handle or an asset path or nothing.
Traits§
- Border
Radius Param - Trait that represents border radius
- Color
Param - Trait that represents a CSS color
- Length
Param - Trait that represents a CSS “length”
- OptFloat
Param - Trait that represents an optional float
- Style
Builder Background - Style
Builder Border Color - Style
Builder Border Radius - Style
Builder Font - Style
Builder Layout - Style
Builder Outline - Style
Builder Pointer Events - Style
Builder Visibility - Style
BuilderZ Index - Style
Tuple StyleTuple
- a variable-length tuple ofStyleHandle
s.- UiRect
Param - Trait that represents CSS edge widths (margin, padding, etc.)
- ZIndex
Param - Trait that represents a CSS Z-index