Struct epi::Frame[][src]

pub struct Frame<'a>(_);
Expand description

Represents the surroundings of your app.

It provides methods to inspect the surroundings (are we on the web?), allocate textures, do http requests, and change settings (e.g. window size).

Implementations

True if you are in a web environment.

Information about the integration.

A way to allocate textures.

Signal the app to stop/exit/quit the app (only works for native apps, not web apps). The framework will not quit immediately, but at the end of the this frame.

Set the desired inner size of the window (in egui points).

If you need to request a repaint from another thread, clone this and send it to that other thread.

Very simple Http fetch API. Calls the given callback when done.

You must enable the “http” feature for this.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.