Struct epi::backend::FrameBuilder[][src]

pub struct FrameBuilder<'a> {
    pub info: IntegrationInfo,
    pub tex_allocator: &'a mut dyn TextureAllocator,
    pub output: &'a mut AppOutput,
    pub repaint_signal: Arc<dyn RepaintSignal>,
}
Expand description

The data required by Frame each frame.

Fields

info: IntegrationInfo

Information about the integration.

tex_allocator: &'a mut dyn TextureAllocator

A way to allocate textures (on integrations that support it).

output: &'a mut AppOutput

Where the app can issue commands back to the integration.

repaint_signal: Arc<dyn RepaintSignal>

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

Implementations

Wrap us in a Frame to send to App::update.

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.