Struct chargrid_graphical_common::Config[][src]

pub struct Config {
    pub title: String,
    pub font_bytes: FontBytes,
    pub window_dimensions_px: Dimensions<f64>,
    pub cell_dimensions_px: Dimensions<f64>,
    pub font_scale: Dimensions<f64>,
    pub underline_width_cell_ratio: f64,
    pub underline_top_offset_cell_ratio: f64,
    pub resizable: bool,
}

Fields

title: Stringfont_bytes: FontByteswindow_dimensions_px: Dimensions<f64>cell_dimensions_px: Dimensions<f64>font_scale: Dimensions<f64>underline_width_cell_ratio: f64underline_top_offset_cell_ratio: f64resizable: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.