[][src]Struct egui::DemoApp

pub struct DemoApp { /* fields omitted */ }

Demonstrates how to make an app using Egui.

Implements egui::app::App so it can be used with egui_glium and egui_web.

Implementations

impl DemoApp[src]

pub fn ui(&mut self, ui: &mut Ui, env: &DemoEnvironment)[src]

Show the app ui (menu bar and windows).

pub fn windows(&mut self, ctx: &Arc<Context>, env: &DemoEnvironment)[src]

Show the open windows.

Trait Implementations

impl App for DemoApp[src]

impl Default for DemoApp[src]

Auto Trait Implementations

impl RefUnwindSafe for DemoApp

impl Send for DemoApp

impl Sync for DemoApp

impl Unpin for DemoApp

impl UnwindSafe for DemoApp

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.