pub struct Style {
pub background_color: Option<Color>,
}
Unique styling for the BorderedRectangle widget.
Shape styling for the inner rectangle.
Retrieves the value, falling back to a default values in the following order:
- If the field is
None
, falls back to the style stored within the Theme
.
- If there are no style defaults for the widget in the theme, or if the
default field is also
None
, falls back to the expression specified within
the field's #[conrod(default = "expr")]
attribute.
This method was generated by the #[conrod(default = "expr")]
attribute
associated with the #[derive(WidgetStyle)]
attribute.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.