Trait nvml_wrapper::high_level::event_loop::EventLoopProvider
source · pub trait EventLoopProvider {
// Required method
fn create_event_loop<'nvml>(
&'nvml self,
devices: Vec<&'nvml Device<'nvml>>
) -> Result<EventLoop<'_>, NvmlErrorWithSource>;
}
Expand description
Adds a method to obtain an EventLoop
to the Nvml
struct.
use
it at your leisure.