pub struct GuiConfig {
pub width: u32,
pub height: u32,
pub vsync: bool,
pub maximized: bool,
}Expand description
GUI configuration
Fields§
§width: u32Window width
height: u32Window height
vsync: boolEnable VSync
maximized: boolEnable maximized window
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuiConfig
impl<'de> Deserialize<'de> for GuiConfig
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 GuiConfig
impl RefUnwindSafe for GuiConfig
impl Send for GuiConfig
impl Sync for GuiConfig
impl Unpin for GuiConfig
impl UnsafeUnpin for GuiConfig
impl UnwindSafe for GuiConfig
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