Trait Events

Source
pub trait Events {
    type Setter<'a>
       where Self: 'a;

    // Required method
    fn setter(&mut self) -> Self::Setter<'_>;
}

Required Associated Types§

Source

type Setter<'a> where Self: 'a

Required Methods§

Source

fn setter(&mut self) -> Self::Setter<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Events for Button

Source§

type Setter<'a> = <Div as Events>::Setter<'a>

Source§

impl Events for Checkbox

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for Div

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for Image

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for Knob

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for Scroll

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for Text

Source§

type Setter<'a> = Setter<'a>

Source§

impl Events for TextInput

Source§

type Setter<'a> = Setter<'a>