[][src]Enum smithy_types::UiEvent

pub enum UiEvent {
    OnTest(bool),
}

An enum of events that a DOM element can potentially handle.

These are included on dom elements as follows:

smd!(
  <some-dom-node ui_event={ui_event_handler} />
)

e.g.

smd!(
  <div on_click={|e: web_sys::MouseEvent| { /* ... */ }} />
)

Variants

OnTest(bool)

An event used for testing.

Auto Trait Implementations

impl Send for UiEvent

impl Unpin for UiEvent

impl Sync for UiEvent

impl UnwindSafe for UiEvent

impl RefUnwindSafe for UiEvent

Blanket Implementations

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]