Trait async_winit::Event

source ·
pub trait Event {
    type Clonable: Clone + 'static;
    type Unique<'a>: 'a;

    // Required method
    fn downgrade(unique: &mut Self::Unique<'_>) -> Self::Clonable;
}
Expand description

The type of event that can be sent over a Handler.

Required Associated Types§

source

type Clonable: Clone + 'static

source

type Unique<'a>: 'a

Required Methods§

source

fn downgrade(unique: &mut Self::Unique<'_>) -> Self::Clonable

Implementors§

source§

impl Event for ScaleFactor

source§

impl<T: Clone + 'static> Event for T

§

type Clonable = T

§

type Unique<'a> = T