pub struct App<H>{
pub windows: Vec<Window>,
pub cursor: Cursor,
/* private fields */
}Expand description
The default structure to handle and manage apps
Fields§
§windows: Vec<Window>List of the program windows
cursor: CursorCursor information
Implementations§
Source§impl<H: EventHandler> App<H>
impl<H: EventHandler> App<H>
Sourcepub fn get_global_theme(&self) -> ThemeDefault
pub fn get_global_theme(&self) -> ThemeDefault
Returns the global theme defined as Self::theme_get_default()
Sourcepub fn set_global_theme(&mut self, theme: ThemeDefault)
pub fn set_global_theme(&mut self, theme: ThemeDefault)
Modify the current window theme If alread set as the value provided, it does nothing
Auto Trait Implementations§
impl<H> Freeze for App<H>where
H: Freeze,
impl<H> RefUnwindSafe for App<H>where
H: RefUnwindSafe,
impl<H> !Send for App<H>
impl<H> !Sync for App<H>
impl<H> Unpin for App<H>where
H: Unpin,
impl<H> UnwindSafe for App<H>where
H: 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