Expand description
A specialized component system aimed at helping build a styling foundation for Rust apps.
This crate makes it easy to annotate types as StyleComponent
s that can
be used within a Style
. This crate provides no StyleComponent
implementors.
Macros
- Returns a
StaticName
, which allows for a name to be defined statically. - A shorthand for creating a
Style
type from a compile-time list ofStyleComponent
implementors.
Structs
- A boxed
StyleComponent
. - A name that contains only
a-z
,A-Z
,0-9
, or_
characters. - An iterator over the components contained in a
Style
. - A globally unique name.
- A statically defined
Name
. - A set of style components.
Enums
- A
Name
type used for efficient lookups in ordered collections.
Traits
- A style component that can be powered by data contained in the structure.
- A style component. Implementors can be stored within
Style
.