Type Alias Listener

Source
pub type Listener<T> = Box<dyn Fn(Event<'_, T>)>;
Expand description

Function called when an event is emitted by the tree synchronously.

Aliased Typeยง

pub struct Listener<T>(/* private fields */);