MCPcopy Create free account
hub / github.com/angular-rust/ux-charts / StyleOption

Class StyleOption

src/options.rs:316–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315#[derive(Debug, Clone)]
316pub 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
330impl<'a> Default for StyleOption<'a> {
331 fn default() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected