[][src]Trait smithay_client_toolkit::output::OutputHandling

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

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

fn listen<F: FnMut(WlOutput, &OutputInfo, DispatchData<'_>) + 'static>(
    &mut self,
    f: F
) -> OutputStatusListener

Insert a listener for output creation and removal events

Loading content...

Implementors

impl OutputHandling for OutputHandler[src]

Loading content...