[][src]Struct egui::app::AppOutput

pub struct AppOutput {
    pub quit: bool,
    pub window_size: Option<Vec2>,
    pub pixels_per_point: Option<f32>,
}

Action that can be taken by the user app.

Fields

quit: bool

Set to true to stop the app. This does nothing for web apps.

window_size: Option<Vec2>

Set to some size to resize the outer window (e.g. glium window) to this size.

pixels_per_point: Option<f32>

If the app sets this, change the pixels_per_point of Egui to this next frame.

Trait Implementations

impl Clone for AppOutput[src]

impl Copy for AppOutput[src]

impl Debug for AppOutput[src]

impl Default for AppOutput[src]

impl PartialEq<AppOutput> for AppOutput[src]

impl StructuralPartialEq for AppOutput[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.