pub trait OutputHandling {
    fn listen<F: FnMut(WlOutput, &OutputInfo, DispatchData<'_>) + 'static>(
        &mut self,
        f: F
    ) -> OutputStatusListener; }
Expand description

Trait representing the OutputHandler functions

Implementing this trait on your inner environment struct used with the environment! by delegating it to its OutputHandler field will make available the output-associated method on your Environment.

Required methods

Insert a listener for output creation and removal events

Implementors