[][src]Struct druid::DelegateCtx

pub struct DelegateCtx<'a> { /* fields omitted */ }

A context passed in to AppDelegate functions.

Methods

impl<'a> DelegateCtx<'a>[src]

pub fn submit_command(
    &mut self,
    command: Command,
    window_id: impl Into<Option<WindowId>>
)
[src]

Submit a Command to be run after this event is handled.

Commands are run in the order they are submitted; all commands submitted during the handling of an event are executed before the update() method is called.

Auto Trait Implementations

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

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

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

impl<'a> Unpin for DelegateCtx<'a>

impl<'a> !UnwindSafe for DelegateCtx<'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> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

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.