[][src]Struct egui::Output

pub struct Output {
    pub cursor_icon: CursorIcon,
    pub open_url: Option<String>,
    pub copied_text: String,
    pub needs_repaint: bool,
}

What Egui emits each frame. The backend should use this.

Fields

cursor_icon: CursorIcon

Set the cursor to this icon.

open_url: Option<String>

If set, open this url.

copied_text: String

Response to Event::Copy or Event::Cut. Ignore if empty.

needs_repaint: bool

If true, Egui or a user is indicating that the UI needs immediate repaint (e.g. on the next frame). This happens for instance when there is an animation, or if a user has called Context::request_repaint(). Don't set this manually, but call Context::request_repaint() instead.

Trait Implementations

impl Clone for Output[src]

impl Default for Output[src]

Auto Trait Implementations

impl RefUnwindSafe for Output

impl Send for Output

impl Sync for Output

impl Unpin for Output

impl UnwindSafe for Output

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.