Enum kagura::html::EventHandler[][src]

pub enum EventHandler<Msg> {
    Unrwapped(Box<dyn FnOnce(Event) -> Msg>),
    Wrapped(Box<dyn FnOnce(Event)>),
}

Variants

Unrwapped(Box<dyn FnOnce(Event) -> Msg>)

Tuple Fields of Unrwapped

0: Box<dyn FnOnce(Event) -> Msg>
Wrapped(Box<dyn FnOnce(Event)>)

Tuple Fields of Wrapped

0: Box<dyn FnOnce(Event)>

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.