[][src]Struct fui_app::Application

pub struct Application { /* fields omitted */ }

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]

pub fn run(&mut self)[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any