[][src]Enum guion::ctx::queue::StdEnqueueable

pub enum StdEnqueueable<E> where
    E: Env
{ Render { force: bool, }, Event { event: EEvent<E>, ts: u64, }, MutateWidget { path: E::WidgetPath, f: fn(_: WidgetRefMut<E>, _: &mut E::Context, _: E::WidgetPath), invalidate: bool, }, MutateWidgetClosure { path: E::WidgetPath, f: Box<dyn FnOnce(WidgetRefMut<E>, &mut E::Context, E::WidgetPath) + 'static>, invalidate: bool, }, MutateRoot { f: fn(_: &mut E::Storage, _: &mut E::Context), }, MutateRootClosure { f: Box<dyn FnOnce(&mut E::Storage, &mut E::Context) + 'static>, }, AccessWidget { path: E::WidgetPath, f: fn(_: WidgetRef<E>, _: &mut E::Context), }, AccessWidgetClosure { path: E::WidgetPath, f: Box<dyn FnOnce(WidgetRef<E>, &mut E::Context) + 'static>, }, AccessRoot { f: fn(_: &E::Storage, _: &mut E::Context), }, AccessRootClosure { f: Box<dyn FnOnce(&E::Storage, &mut E::Context) + 'static>, }, InvalidateWidget { path: E::WidgetPath, }, ValidateWidgetRender { path: E::WidgetPath, }, ValidateWidgetSize { path: E::WidgetPath, size: ESize<E>, }, }

Variants

Render

Fields of Render

force: bool
Event

Fields of Event

event: EEvent<E>ts: u64
MutateWidget

Fields of MutateWidget

path: E::WidgetPathf: fn(_: WidgetRefMut<E>, _: &mut E::Context, _: E::WidgetPath)invalidate: bool
MutateWidgetClosure

Fields of MutateWidgetClosure

path: E::WidgetPathf: Box<dyn FnOnce(WidgetRefMut<E>, &mut E::Context, E::WidgetPath) + 'static>invalidate: bool
MutateRoot

Fields of MutateRoot

f: fn(_: &mut E::Storage, _: &mut E::Context)
MutateRootClosure

Fields of MutateRootClosure

f: Box<dyn FnOnce(&mut E::Storage, &mut E::Context) + 'static>
AccessWidget

Fields of AccessWidget

path: E::WidgetPathf: fn(_: WidgetRef<E>, _: &mut E::Context)
AccessWidgetClosure

Fields of AccessWidgetClosure

path: E::WidgetPathf: Box<dyn FnOnce(WidgetRef<E>, &mut E::Context) + 'static>
AccessRoot

Fields of AccessRoot

f: fn(_: &E::Storage, _: &mut E::Context)
AccessRootClosure

Fields of AccessRootClosure

f: Box<dyn FnOnce(&E::Storage, &mut E::Context) + 'static>
InvalidateWidget

Fields of InvalidateWidget

path: E::WidgetPath
ValidateWidgetRender

Fields of ValidateWidgetRender

path: E::WidgetPath
ValidateWidgetSize

Fields of ValidateWidgetSize

path: E::WidgetPathsize: ESize<E>

Auto Trait Implementations

impl<E> !RefUnwindSafe for StdEnqueueable<E>

impl<E> !Send for StdEnqueueable<E>

impl<E> !Sync for StdEnqueueable<E>

impl<E> Unpin for StdEnqueueable<E> where
    <<E as Env>::Backend as Backend<E>>::Event: Unpin,
    <<E as Env>::Backend as Backend<E>>::Size: Unpin,
    <E as Env>::WidgetPath: Unpin

impl<E> !UnwindSafe for StdEnqueueable<E>

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.