[][src]Struct egui::app::IntegrationContext

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

Fields

info: IntegrationInfo

Information about the integration.

tex_allocator: Option<&'a mut dyn TextureAllocator>

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

output: 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 give to that other thread

Auto Trait Implementations

impl<'a> !RefUnwindSafe for IntegrationContext<'a>

impl<'a> !Send for IntegrationContext<'a>

impl<'a> !Sync for IntegrationContext<'a>

impl<'a> Unpin for IntegrationContext<'a>

impl<'a> !UnwindSafe for IntegrationContext<'a>

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.