2020-01-09 18:31:07 +01:00
|
|
|
/// The settings of a [`Renderer`].
|
|
|
|
|
///
|
|
|
|
|
/// [`Renderer`]: struct.Renderer.html
|
2020-01-01 17:49:48 +01:00
|
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
|
|
|
|
pub struct Settings {
|
2020-01-09 18:31:07 +01:00
|
|
|
/// The bytes of the font that will be used by default.
|
|
|
|
|
///
|
|
|
|
|
/// If `None` is provided, a default system font will be chosen.
|
2020-01-01 17:49:48 +01:00
|
|
|
pub default_font: Option<&'static [u8]>,
|
|
|
|
|
}
|