Function on_devices_enumerated

Source
pub fn on_devices_enumerated<F: FnOnce() + 'static>(f: F)
Expand description

Sets the callback to be called when all devices have been enumerated.

This callback is only invoked once during the lifetime of the compositor. This is a good place to select the DRM device used for rendering.