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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.