[−][src]Struct fui_app::Application
Implementations
impl Application
[src]
pub fn new(title: &'static str) -> Result<Self>
[src]
pub fn get_title(&self) -> &'static str
[src]
pub fn get_event_loop(&self) -> Option<&EventLoop<()>>
[src]
pub fn get_drawing_context(&self) -> &Rc<RefCell<DrawingContext>>
[src]
pub fn get_window_manager(&self) -> &Rc<RefCell<WindowManager>>
[src]
pub fn create_loop_proxy(&self) -> Option<EventLoopProxy<()>>
[src]
pub fn get_event_loop_interation(&self) -> &Rc<RefCell<Event<()>>>
[src]
pub fn add_window<V: ViewModel>(
&mut self,
window_builder: WindowBuilder,
view_model: Rc<RefCell<V>>
) -> Result<WindowId>
[src]
&mut self,
window_builder: WindowBuilder,
view_model: Rc<RefCell<V>>
) -> Result<WindowId>
pub fn run(&mut self)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Application
impl !Send for Application
impl !Sync for Application
impl Unpin for Application
impl !UnwindSafe for Application
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,