Struct fui_controls::DynamicTextStyleParams
source · pub struct DynamicTextStyleParams {
pub color: Property<Color>,
pub font_name: Property<String>,
pub font_size: Property<u8>,
}
Fields§
§color: Property<Color>
§font_name: Property<String>
§font_size: Property<u8>
Implementations§
source§impl DynamicTextStyleParams
impl DynamicTextStyleParams
sourcepub fn builder() -> DynamicTextStyleParamsBuilder<((), (), ())>
pub fn builder() -> DynamicTextStyleParamsBuilder<((), (), ())>
Create a builder for building DynamicTextStyleParams
.
On the builder, call .color(...)
(optional), .font_name(...)
(optional), .font_size(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DynamicTextStyleParams
.