| 314 | |
| 315 | #[derive(Debug, Clone)] |
| 316 | pub struct StyleOption<'a> { |
| 317 | pub background: Color, |
| 318 | pub border_color: Color, |
| 319 | pub border_width: f64, // i32? |
| 320 | /// The title"s color |
| 321 | pub color: Color, |
| 322 | /// The title"s font family. |
| 323 | pub fontfamily: Option<&'a str>, |
| 324 | /// The title"s font size. |
| 325 | pub fontsize: Option<f64>, |
| 326 | /// The title"s font style. |
| 327 | pub fontstyle: Option<TextStyle>, |
| 328 | } |
| 329 | |
| 330 | impl<'a> Default for StyleOption<'a> { |
| 331 | fn default() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected