pub struct AppConfig { /* private fields */ }Expand description
Top-level cross-platform application configuration.
Implementations§
Source§impl AppConfig
impl AppConfig
pub fn get_window(&self) -> &WindowConfig
pub fn get_mut_window(&mut self) -> &mut WindowConfig
pub fn set_window(&mut self, val: WindowConfig) -> &mut Self
pub fn get_clear_color(&self) -> Color
pub fn get_mut_clear_color(&mut self) -> &mut Color
pub fn set_clear_color(&mut self, val: Color) -> &mut Self
Trait Implementations§
impl StructuralPartialEq for AppConfig
Auto Trait Implementations§
impl Forget for AppConfig
impl Freeze for AppConfig
impl Move for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfigwhere
RawVecInner: Send,
impl Sync for AppConfigwhere
RawVecInner: Sync,
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfigwhere
RawVecInner: UnwindSafe,
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