Trait EventRouter

Source
pub trait EventRouter
where Self: Sized,
{ type Input: Dispatchable + 'static; type Output: Dispatchable + 'static; // Provided method fn process( self, input: Self::Input, area: AbsRect, extent: AbsRect, dpi: Vec2, driver: &Weak<Driver>, ) -> Result<(Self, SmallVec<[Self::Output; 1]>), (Self, SmallVec<[Self::Output; 1]>)> { ... } }

Required Associated Types§

Source

type Input: Dispatchable + 'static

Source

type Output: Dispatchable + 'static

Provided Methods§

Source

fn process( self, input: Self::Input, area: AbsRect, extent: AbsRect, dpi: Vec2, driver: &Weak<Driver>, ) -> Result<(Self, SmallVec<[Self::Output; 1]>), (Self, SmallVec<[Self::Output; 1]>)>

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§