Struct chargrid_ggez::Config
source · [−]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: String
font_bytes: FontBytes
window_dimensions_px: Dimensions<f64>
cell_dimensions_px: Dimensions<f64>
font_scale: Dimensions<f64>
underline_width_cell_ratio: f64
underline_top_offset_cell_ratio: f64
resizable: bool
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more