pub struct Gui {
pub size: Option<f32>,
pub font: Option<String>,
}Expand description
The window front end (rmut-egui). The terminal front end never reads these.
Fields§
§size: Option<f32>Text size in points (14 when unset). Ctrl+= / Ctrl+- / Ctrl+0 zoom the whole window at runtime on top of this.
font: Option<String>Path to a .ttf/.otf file used as the window’s monospace face (egui’s built-in face when unset).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gui
impl<'de> Deserialize<'de> for Gui
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Gui
impl RefUnwindSafe for Gui
impl Send for Gui
impl Sync for Gui
impl Unpin for Gui
impl UnsafeUnpin for Gui
impl UnwindSafe for Gui
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